Waterpulse Sensor - ESP8266GW without Radio only as node
-
Mhhh, nobody has an idea?
It seems that the sensor did not "start" the "void presentation()" section of sketch... :-( -
Mhhh, nobody has an idea?
It seems that the sensor did not "start" the "void presentation()" section of sketch... :-( -
Okay i will, as soon as I'am back home... maybe monday! Thank you so far
-
Iam using Pimatic, but only for displaying Sensor values. I set my node ID's manually...
-
@mfalkvidd Here is my Serial Output:
MCO:BGN:INIT GW,CP=R-NGE---,VER=2.2.0-beta scandone f 0, scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 0 (29) ..reconnect f -180, scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 0 (29) ..reconnect f r0, scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 0 (29) ..reconnect f 0, .scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 0 (29) ..reconnect f -180, scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 0 (29) ..reconnect f r0, scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 3 cnt connected with Fritzbox7390, channel 10 ip:192.168.0.137,mask:255.255.255.0,gw:192.168.0.1 .IP: 192.168.0.137 0;255;3;0;9;6400 MCO:BGN:STP 0;255;3;0;9;6473 MCO:REG:NOT NEEDED 0;255;3;0;9;6510 MCO:BGN:INIT OK,TSP=NA pm open,type:2 0And nothing more happens...
I tried to give out some serial prints in "void presentation" section, but they did not appear...Strange...
For what is the MY_CONTROLLER_IP_ADRESS ? The IP i inserted here is the IP from my other/main "Mysensors-Gateway..."
-
@mfalkvidd Here is my Serial Output:
MCO:BGN:INIT GW,CP=R-NGE---,VER=2.2.0-beta scandone f 0, scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 0 (29) ..reconnect f -180, scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 0 (29) ..reconnect f r0, scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 0 (29) ..reconnect f 0, .scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 0 (29) ..reconnect f -180, scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 0 (29) ..reconnect f r0, scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 3 cnt connected with Fritzbox7390, channel 10 ip:192.168.0.137,mask:255.255.255.0,gw:192.168.0.1 .IP: 192.168.0.137 0;255;3;0;9;6400 MCO:BGN:STP 0;255;3;0;9;6473 MCO:REG:NOT NEEDED 0;255;3;0;9;6510 MCO:BGN:INIT OK,TSP=NA pm open,type:2 0And nothing more happens...
I tried to give out some serial prints in "void presentation" section, but they did not appear...Strange...
For what is the MY_CONTROLLER_IP_ADRESS ? The IP i inserted here is the IP from my other/main "Mysensors-Gateway..."
@HarrySteff a controller and a gateway are different things. See https://www.mysensors.org/about/network#the-controller for information on what a controller is.
Try removing that define as per gohan's recommendation.
-
Okay i understood this, but how does my ESP8266 node (only wifi) knows where the gateway is`?
I think i must tell it somwhere?
I will try to remove defined
MY_CONTROLLER_IP_ADRESS & MY_USE_UDPposting serial output here...
-
It is a gateway, here the serial output:
(nothing changes)⸮Hl⸮G⸮C⸮d⸮xpI⸮⸮0;255;3;0;9;338 MCO:BGN:INIT GW,CP=R-NGE---,VER=2.2.0-beta scandone f 0, scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 1 cnt connected with Fritzbox7390, channel 1 ip:192.168.0.137,mask:255.255.255.0,gw:192.168.0.1 .IP: 192.168.0.137 0;255;3;0;9;899 MCO:BGN:STP 0;255;3;0;9;948 MCO:REG:NOT NEEDED 0;255;3;0;9;1004 MCO:BGN:INIT OK,TSP=NA pm open,type:2 0No local atached Sensor is presented?!?
I use a wemos d1 Mini...
Sensor is connected to Port D2
What digital-Input-Port Must i use?
I found some Pin mappings:
There it is Port 4 -
No, until now i did not, but do i need a controller at all?
(In my opinion it should present values even i do not have a controller)
So now i even disabled the define of the controller IP in my sketch...