|
Re: Problems after implementing weater functions
A statement like this:
Leads me to think you were implying the relay state could impact stability.
A statement like this:
Leads me to think you were implying the relay state could impact stability.
|
By
Howard Dutton
·
#381
·
|
|
Re: Problems after implementing weater functions
Good morning,
Status of this morning : There are still reboots, even with the the relays HIGH (i.e. no 220 V AC current transiting the output terminals of the relay).
Let me make it clearer :
Good morning,
Status of this morning : There are still reboots, even with the the relays HIGH (i.e. no 220 V AC current transiting the output terminals of the relay).
Let me make it clearer :
|
By
Laurent HOUSSAYE
·
#380
·
|
|
Re: Problems after implementing weater functions
If you're saying switching mains (or even the act of switching relays) is crashing the system go back to my first post in reply to this.
Interference:
EMI
RF
Back EMF.(flyback from relay coils.)
High
If you're saying switching mains (or even the act of switching relays) is crashing the system go back to my first post in reply to this.
Interference:
EMI
RF
Back EMF.(flyback from relay coils.)
High
|
By
Howard Dutton
·
#379
·
Edited
|
|
Re: Problems after implementing weater functions
When the relays are HIGH (220 V AC in Open Circuit at the relay ouput terminals) the system is stable : no reboot in more than 88 minutes). See screen copy :
I let it in this state for the night and
When the relays are HIGH (220 V AC in Open Circuit at the relay ouput terminals) the system is stable : no reboot in more than 88 minutes). See screen copy :
I let it in this state for the night and
|
By
Laurent HOUSSAYE
·
#378
·
|
|
Re: Problems after implementing weater functions
What about that I2C bus...
Bus and all sensors are 5V rated/compatible? Level translation for 3V3?
Loading resistors?
Twisted pair? How long?
What about that I2C bus...
Bus and all sensors are 5V rated/compatible? Level translation for 3V3?
Loading resistors?
Twisted pair? How long?
|
By
Howard Dutton
·
#377
·
|
|
Re: Problems after implementing weater functions
I would tackle problems one at a time...
Get the rain sensor working first, that should be a basic device right?
I would tackle problems one at a time...
Get the rain sensor working first, that should be a basic device right?
|
By
Howard Dutton
·
#376
·
|
|
Re: Problems after implementing weater functions
Or perhaps corrupt signaling on the I2C bus locks up the (Arduino) Wire library.
Or perhaps corrupt signaling on the I2C bus locks up the (Arduino) Wire library.
|
By
Howard Dutton
·
#375
·
|
|
Re: Problems after implementing weater functions
The OCS reads the "Chart.js" file and sends it to your web browser to run.
I commented on the likely causes already. I just started from scratch here in that last go around, my development laptop
The OCS reads the "Chart.js" file and sends it to your web browser to run.
I commented on the likely causes already. I just started from scratch here in that last go around, my development laptop
|
By
Howard Dutton
·
#374
·
Edited
|
|
Re: Problems after implementing weater functions
Not really, it seems to be a sensors problem, perhaps down in the libraries.
What libraries has not been discussed.
Not really, it seems to be a sensors problem, perhaps down in the libraries.
What libraries has not been discussed.
|
By
Howard Dutton
·
#373
·
|
|
Re: Problems after implementing weater functions
Hello everybody
Thanks Howard for your efforts: I downloaded the latest OCS version 2.33, and set it up for my observatory
with my basic configuration in config.h with no Weather function : OK
as 1.
Hello everybody
Thanks Howard for your efforts: I downloaded the latest OCS version 2.33, and set it up for my observatory
with my basic configuration in config.h with no Weather function : OK
as 1.
|
By
Laurent HOUSSAYE
·
#372
·
|
|
Re: commands sqm and temperature not working ore present
Thank you for the update.
I'm using python for distant request on OCS with these commands and it's very nice.
You did a very great job
Thank you for the update.
I'm using python for distant request on OCS with these commands and it's very nice.
You did a very great job
|
By
koal01
·
#371
·
|
|
Re: commands sqm and temperature not working ore present
I patched those issues (version 2.33 now.)
I patched those issues (version 2.33 now.)
|
By
Howard Dutton
·
#370
·
|
|
Re: commands sqm and temperature not working ore present
Ok that did it, the lights went on...
That 1 should be a 0. There were other cases too, fixed now. It worked for me by chance, the string happened to have a 0 at position 1 which isn't a sure thing
Ok that did it, the lights went on...
That 1 should be a 0. There were other cases too, fixed now. It worked for me by chance, the string happened to have a 0 at position 1 which isn't a sure thing
|
By
Howard Dutton
·
#369
·
|
|
Re: Problems after implementing weater functions
I just uploaded/tested the latest version (github) to take care of Koal01's issue, no surprise it came right up without issue. Note that 2.31 and 2.32 are for our purposes identical and I did testing
I just uploaded/tested the latest version (github) to take care of Koal01's issue, no surprise it came right up without issue. Note that 2.31 and 2.32 are for our purposes identical and I did testing
|
By
Howard Dutton
·
#368
·
|
|
Re: commands sqm and temperature not working ore present
I changed these lines in command.ino this way to get the temperature value through a ":Ga#" request and it is working now
#if WEATHER_TEMPERATURE == ON && WEATHER == ON
// :G1# Get outside
I changed these lines in command.ino this way to get the temperature value through a ":Ga#" request and it is working now
#if WEATHER_TEMPERATURE == ON && WEATHER == ON
// :G1# Get outside
|
By
koal01
·
#367
·
|
|
Re: commands sqm and temperature not working ore present
Same function called for the weather panel as the command... so how that could happen IDK. Works here with BME280 too.
I added it a new command :GQ# to get the sky quality.
Same function called for the weather panel as the command... so how that could happen IDK. Works here with BME280 too.
I added it a new command :GQ# to get the sky quality.
|
By
Howard Dutton
·
#366
·
Edited
|
|
Re: Problems after implementing weater functions
Sorry Howard, I should not have gone so quick, I have to amend the picture... Soon after having sent this last message, I realized that the Web page displayed on my screen was in fact frozen... No
Sorry Howard, I should not have gone so quick, I have to amend the picture... Soon after having sent this last message, I realized that the Web page displayed on my screen was in fact frozen... No
|
By
Laurent HOUSSAYE
·
#365
·
|
|
Re: Problems after implementing weater functions
Last update for today @ 16:30 h UT:
Good point for me : I think I have found the cause of the instabilities and cured them.
Bad point for you Howard : It seems to be the latest version of OCS
Last update for today @ 16:30 h UT:
Good point for me : I think I have found the cause of the instabilities and cured them.
Bad point for you Howard : It seems to be the latest version of OCS
|
By
Laurent HOUSSAYE
·
#364
·
|
|
Re: Problems after implementing weater functions
Sorry I was wrong in my last post : the Basic configuration that is OK and perfectly stable is with OCS version 2.1c. I did'nt update it because it is operating perfectly.
Sorry I was wrong in my last post : the Basic configuration that is OK and perfectly stable is with OCS version 2.1c. I did'nt update it because it is operating perfectly.
|
By
Laurent HOUSSAYE
·
#363
·
|
|
Re: Problems after implementing weater functions
Update of 18th of April 2021:
Starting point : OCS version 2.31.
Basic configuration : Roof control function + Power relays control function. Operates perfectly in particular the relays operate
Update of 18th of April 2021:
Starting point : OCS version 2.31.
Basic configuration : Roof control function + Power relays control function. Operates perfectly in particular the relays operate
|
By
Laurent HOUSSAYE
·
#362
·
|