-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: a tickbox for "off-grid mode - no offline errors" would be nice? #180
Comments
@houser42 hm .... do you know when you are running on DC in node-red. I mean polling could be turned off completely during DC mode. |
Yes, I am referring to planned automated AC shutdowns where the DC power stays on. While we are on polling house keeping.
It works and sends data but spends much of the time complaining about connectivity even if it does send the data as it should. I assume it is designed to conserve power, use MQTT and does not understand that it has constant power. |
I will implement a command that can be injected so that polling can ba paused... About the H&T. For that reason I always operate these low-power sensors only in callback mode. Most of the time the device is sleeping and a pollrequest just ends in a timeout. |
Sounds good, appreciate the constructive feedback! I have never used callback or the "Shelly server" but it seems to work. |
I use port 10000, anyone above around 10000 should be fine. One server for all gen2 devices and another one for all gen1 devices is enough... so no waste of resources. A simple script is installed in the shelly to issue the callback on every event. You can also forward blutooth messages. |
Short follow-up on the H&T: |
What do you mean with "directly"? |
Sorry to be unclear. By "directly" I meant from the node rather than MQTT which is what the system I am working on now is set up to use. I see no temp or humidity payloads coming from the node itself. Should I? Edit: I see it now. The node was incorrectly set to "event" rather than "status". All works now. Apologies! |
@houser42 let me know if the callback solution worked for you |
Yes, the callback works well. Should have confirmed. Apologies. |
@houser42 ah fine... so is it then necessary to implement your requested feature for polling mode or not, what do you think? |
Ok. The requested feature is mainly for Shelly AC accessories that start sending error messages when AC is off. The callback feature I set was for a H&T device that is only on DC. Are you saying we should use callback for AC devices generally? |
Ok |
Hello,
Happy user here, using this great node in off-grid installs.
I have a request that is more about keeping things tidy than anything else.
I routinely use Shelly devices with this node in installs, where the AC power is switched off daily while retaining DC power
and of course this node then spits out errors like this:
"Error in executeCommand1: /status --> Error: connect EHOSTUNREACH 192.168.xx.xx:80"
This makes the log hard to read.
If it would be possible to add a tickbox for "off-grid mode - no offline errors" I would be nice.
Or if there is any other clever workaround.
The text was updated successfully, but these errors were encountered: