Need help with initial setup :(
-
Hi there,
I'm lost with my setup:
- Gateway: Nodemcu
- Client: Pro Mini
Both have an Adafruit RFM69HCW see here
According to the Adafruit samples the boards need to be reset, which I'm doing.The first try delivers a lot of output which I cannot really decode yet,
it seems as if they are not talking to each other, but I'm not sure if that's correct and what
all the messages mean.The output as well as code is here: https://gist.github.com/solars/920dd3151356f6c5795169a36bb01d9a
Could anyone please help me getting started with mysensors?
-
Can anyone help me out?
-
Hello dear @chbla,
I just took a peek at your log file. It's saying that your node can't find the gateway. unfortunately I have no experience with the RFM69. But others might be able to help you.
-
Thank you @TheoL is it possible to determine whether this is a problem in the client or the gateway?
-
You are missing node ID on the pro mini
-
@gohan, but the Node ID defaults to AUTO as far as I can see (https://www.mysensors.org/download/sensor_api_20).
I'm also sending it in the presentation, right?What exactly are you referring to or how do you see that?
-
With auto you need a controller that provides it, and since usually it's not the case, you'd better specify the node ID
-
@gohan I've tried setting the child ID, but it still does not work, updated the output:
https://gist.github.com/solars/920dd3151356f6c5795169a36bb01d9a
Any idea?
-
I don't see any ID set in the log: try running the clear eeprom sketch and run your code again, otherwise you could try run your gateway with ethernet instead of MQTT and connect MySController with auto ID enabled and see if it assigns the ID to the node; once assigned the node will store the ID in eeprom and should not forget it.
-
Clearing didn't help - could it be a RF module issue as well? As I was not sure if wired correctly..
-
if I read the logs correctly, the gateway is actually receiving something. Try to use the GatewayEsp8266 sketch, connect the myscontroller to it and power on the node
-
This post is deleted!
-
@gohan thanks, stupid question: where can I get it? https://www.mysensors.org/controller/myscontroller is only an image
-