MySensors add-on crashed ?
-
I always run with persistence unchecked too, since I want to know which devices are actually online and responding.
I can try and create a debug function for the next version. Then perhaps we can find the error.
You may have to remove things you created before version 0.0.5, since in that version there were a lot of changed to how capabilities work - a lot were removed. And those are the things that can be selected to end up in the center of your thing.
Still, temperature should work just fine, theoretically.
@alowhum said in MySensors add-on crashed ?:
You may have to remove things you created before version 0.0.5, since in that version there were a lot of changed to how capabilities work - a lot were removed. And those are the things that can be selected to end up in the center of your thing.
Still, temperature should work just fine, theoretically.
At the moment I only set temperature as center of the thing, I only have TH sensors connected to the Things Gateway.
I also deleted everything and removed/reinstalled the add-on, so I have nothing left from the previous version. -
@Nca78 Great, that will narrow things down. I've created a new version (0.0.6) that exposes the debug options. You will be able to enable 'debugging' and see all the same details I do while developing. Then we can find in more detail what it going on. It should arrive on your system automatically when Mozilla accepts it.
-
I still had a similar problem today, after restarting the gateway the add-on seemed to have failed to restart properly as the temperatures were showing 0°C.
I disabled and re-enabled the add-on and the temps sensors got updates. But now this evening I see all sensors back to "Thing" display, the only suspicious thing I see in the log is the same "MaxListenersExceededWarning" message I posted above.
The fact that they didn't immediately switch back to "Thing" display after restarting add-on might be due to the cache not updated, I'm not sure at all.But with the "native" thing on ESP32 also regularly failing and the really annoying and anti-ergonomic logs, I think I'll have a little break and come back to the Things Gateway later, when it will hopefully be a bit more polished and when I'll have had time to learn about the technologies it uses as I'm a bit stuck at the moment and can't check/fix anything myself.
-
@nca78 I'm noticing the same behaviour of things switching back to displaying 'thing' in the center instead of the earlier selected property.
@alowhum said in MySensors add-on crashed ?:
@nca78 I'm noticing the same behaviour of things switching back to displaying 'thing' in the center instead of the earlier selected property.
:( Did you manage to identify the source/cause of the problem ? Restart of mysensors gateway or things gateway ? Version update ?
It didn't happen to me anymore this week.
-
It happens when you restart the add-on / gateway. I'm trying to figure it out here:
https://github.com/mozilla-iot/gateway-addon-python/issues/48 -
@Nca78 The second problem you mentioned should be fixed now.
https://forum.mysensors.org/topic/10342/mozilla-webthings-mysensors-add-on-adapter/26 -
@Nca78 The second problem you mentioned should be fixed now.
https://forum.mysensors.org/topic/10342/mozilla-webthings-mysensors-add-on-adapter/26@alowhum said in MySensors add-on crashed ?:
@Nca78 The second problem you mentioned should be fixed now.
https://forum.mysensors.org/topic/10342/mozilla-webthings-mysensors-add-on-adapter/26I just updated the add-on and it went all smoothly, all sensors are still here showing temperature and dimmed until message is effectively received.
I have activated the extra logging in case of a future problem.Thank you for your hard work !