Re: [Getting !TSF:ASID:FAIL]
As Tekka (thanks so much for this hint!!!) refers before the clear EEprom from Arduino.cc is not properly working in all situations. As you try your Arduino in an serial gateway and after that try to use it as an other sensor or whatever in MySensors it will fail.
This because Arduino clear sketch write 0's instead of 0xff. And that's the case why you can after the original sketch still cannot use it normally as 'new'.
So use for clearing the EEProm always the MySensors clearEEprom!
You can find it here : https://www.mysensors.org/build/debug#clearing-eeprom
It has cost me very long long times to just find out why my other sensors would not properly work with MySensors, SerialGateway and Domoticz.
So good luck with this info. as it helps you as good as it helped me youre a very happy person. Thanks a lot to Tekka. He's the one to get the honers of this solution!
Best posts made by HJ_SK
-
be aware of previous used arduino as serial gateway
-
RE: Advise - Building air quality sensors/network
@sebex :
I'm using MQ2 for Co2, LPG and Smoke. On MySensors is with radio good example.
More complex (including calibrating is to find here : sandboxelectronics.com)
I always start with testing new items without radio to better understand it's working.
The I switch (with more knowledge) to MySensors including Radio.If your new (as I am) I should suggest to first try only 1 gateway. There is enough to learn by doing so.
About battery : I use 1 or 2 x 18650 in housing with USB connection to Nano or Uno or whatever else Arduino. That powers a 'set of 3' weeks to months of enough power. You can also use or choose for example LiPo. Much smaller, less in capacity but in my opinion better then AA or AAA.
And they're all rechargeable of course, what's far better for the environment! -
RE: Advise - Building air quality sensors/network
@sebex No not stay away from HA. First only 1 gateway with HA. When you got that 'in your fingers' it's time to look at more kinds of gateways. Just my opinion