ok, I created new issue.
Latest posts made by rozpruwacz
-
RE: requesting value from node
@jkandasa thanks. So to use operation i need to create some kind of rule ?
As a side note, maybe this is a good idea for a new feature ? Because for me sending a value to node and requesting its current value is complementary. I also think about some kind of node settings variables. For example a motion sensors could expose a trigger duration variable that could be changed from the interface. The value of such variable would be sent from the node to the controller only on demand (for the user to show him what is the current setting) and could be set from the controller. The only missing part in MyController for this scenario is refreshing the variable.
-
requesting value from node
Hi,
I wonder if there is a way to request a value from the node. For example I have a dimmer node with temperature sensor. In the web interface I can see the temp in sensor details and I even can set a temperature (but of course this is not handled in the node :)). It would be cool if there was some kind of "refresh" button which would send req command to the node. -
RE: firmware update on rpi problem
@tag said in firmware update on rpi problem:
ere work
well, I would say that it is not the problem with the firmware file, because i did a test with the modified node firmware where i changed the timeouts and nuber of retries and the OTA update succeeded (delay 1000ms and 10 retries), and the node worked ok on the updated firmware. so issues 1, 2, 3 and 6 are for sure not the problem.
I'm not using ftp, i just add new firmware trough mycontroller web UI.
sd card, not corrupted (the test with larger timeouts showed that) but maybe the sd card is close to wear out ? hope not because it is running Openhabian half a year and has 12G free space out of 16G. If nothing else will help I will change sd card to new one and see if that helps.So I will try the iotop and iostat. Thanks for ideas
-
RE: firmware update on rpi problem
but i'm using mqtt so why this would help me ?
about the load, i was simultaneously checking the top output while uploading firmware, the only process with high load was the mycontroller process and it never reached 100%, more like 20-40%. And the rpi3 has 4 cores ... I know java is not very fast but c'mon, it's just sending several dozen bytes over tcp socket -
firmware update on rpi problem
Hi,
I have a rpi3 running openhabian (OH 2.1), mysgw with mqtt and mosquitto as a broker. And of course mycontroller, just for the firmware updates of my MySensors nodes. I had no problems with firmware update until now, suddenly the OTA fails during upload, after half a day of research i came to conclusion that for some reason mycontroller SOMETIMES respond to firmware requests from my nodes with couple of seconds delay. MySensors nodes wait 500ms for a response, if no response in that time they retry up to 5 times, after that the OTA is stopped. So couple of seconds delay in mycontroler couses the OTA to fail. So I ran mycontroller on my pc (pc -> mqtt -> rpi with openhabian -> mysgw -> node) and everything works like a charm, so there must be something wrong with my mycontroller setup on rpi - but I have no clue what can ia do about it. This worked before without any problems, and for no reason it stopped. Nothing was changed on the rpi, no updates, no package installs, just openhab configuration.
Please, does anybody know what can i do next to solve the problem ? -
commandline buckup
Hi,
how to properly backup mycontroller setup from commandline and then restore ? actually the restore step is most important for me because backup can be set to auto. What I want is to be able to write a bash script which restore whole mycontroller setup.