I am a newbie at Homegear (installation running for only 3 days), so I expect a lot of patience and complacency on your part for my clumsiness and ignorance.
Also my apologies for my bad English that is not my native language and I can not express myself as I would like.
Indicate that I am not a software programmer either, so my notions about it are very very basic.
First of all express my admiration for the good work done at Homegear. I think it’s a wonderful work.
The installation I have is a simple zero rpi with module cc11001 on the gpio hat (v 0.3) created by @Pmayer, which I take this opportunity to expressly thank you for. This rpi will only execute homegear in a dedicated way and for the moment it will only control my trv Max! in a total of 8 radiator valves of what my heating system consists.
The installation of homegear raspbyan was fast and without problems installing the image that exists for the purpose with raspbyan in read-only mode. The basic configuration of homegear for the RF gateway was also relatively easy and the pairing of the trv in homegear was also quite fast once I took the appropriate steps.
All helped a lot with what has already been published in these forums.
Let’s get to the point …
I have many doubts of all kinds, but I will start with what now worries me most.
First: I am in the phase of creating an automation that allows me to send the desired modes and temperatures to “all” devices with a simple call.
My intention is to try to use mqtt and publish a single command for each change or temperature order, for this I thought it would be convenient to create an automation in node-blue so that receiving the node-blue command is responsible for sending the order to all devices and check if necessary that the device accepted the change but failed to create anything functional.
I have started by creating these two test automations in node-blue:
flowautotest1.txt (7,3 KB) flowautotest2.txt (9,0 KB)
As expected they don’t work as they should.
The problem is that if I send more than 1 or 2 devices simultaneously there is a “congestion” in the execution of the radio orders and therefore Homegear fails to send the order to the device, or maybe rather the device does not send the confirmation of the execution of the change of mode or temperature.
Log errors appear (Warning: You 're sendig too many packets at once !. Sending MAX! packets takes a looong time!) makes me suspect that it is a problem of make a congestion with too many simultaneous orders of RF to process and sending to trv devices.
I have tried to modulate the send with delay nodes but without enough success and normally only 3 or 4 of the TRVs change state and both in the flow (flowtest1) for auto_mode and in the flow for change to manual mode (flowtest2).
It is evident that my node-blue flows will be badly raised and proppperly created, but I also wonder if there is any other more correct approach (by means of scriptting, etc …) to achieve my objective with Hemgear.
Any suggestions will be welcome and surely a great help.
Next days…much more doubts to comming…