@pikim Yes, I have tested with a blink example to light up an build in LED and that just worked as expected.
TimO
Posts
-
Sensebender Gateway (SAMD21) -
Sensebender Gateway (SAMD21)@pikim Wow, nice! Yes it is working just fine! Good work, thank you!
-
Sensebender Gateway (SAMD21)@pikim Yes, I do have a sensebender gateway that i am planning to use for an energy Meter. I am currently struggling with the circuit but the sensebender is running fine (with the arduino IDE though).
What did you copied where?
-
Sensebender Gateway (SAMD21)@pikim I found no (quick) solution yet and I'm interested in that as well. :-)
-
OH3 - MySensors Binding@forexsieno Is the device accessible by the user that Openhab is running with?
-
OH3 - MySensors BindingI've solved the dependency error and the package compiles fine, but I had no time for testing yet.
If you're willing to test: Download -
OH3 - MySensors BindingI just want you to know, that I'm still there, but out of time at the moment. My third child was born just recently and I don't have any time for the binding at the moment.
I'm really sorry you had to reverse engineer the binding to add your code. That's awfully wrong.
We need to create a new common base to continue the work on the binding.
I was not able to add the binding to the official repo because of the formal requirements from the Openhab Team. I'm sure these requirements are needed, but I'm no professional in java. I struggled mainly at the nonnull annotations that are needed. -
OH3 - MySensors Binding@kerberos Interesting find. Haven't seen something like this till now. I suggest to delete the jar file, delete the cache and start over again.
I haven't tested textual configuration, but this should work just fine and your problem occurred before the textual configuration is initialized.
-
OH3 - MySensors Binding@Klabbe thank you for your feedback!
-
OH3 - MySensors BindingFor those of you willing to help testing the OH3 integration here is a link:
Please don't forget to fulfill the requirements for mqtt und serial. Installation of bindings will do.
What's working after a quick test:
- binding loads in OH3
- serial gateway receives messages (ethernet gateway should work too)
- discovery is working
What's not working:
- MQTT gateway: it's broken some time and needs some tinkering
Please let me know if you found some time to test the binding.
-
OH3 - MySensors BindingI'll look into the changes needed to migrate the binding to OH3 and let you know.
Maybe it's no big deal and I'll provide a version 3 binding. -
MQTT GW with RFM69 on RPi@Yveaux thank you for digging in!
-
MQTT GW with RFM69 on RPiI've disabled the signing feature and the !MCO:PRO:RC=1 issn't occuring anymore.
-
MQTT GW with RFM69 on RPi@frits Thank you for your input. My gateway definitely becomes unreliable after a while.
Maybe your hint regarding signing is worth some investigation. My sensors (temperature / humidity) which don't use signing seem to work fine over time. My actuators are using signing and become unreliable after a time. Currently I'm using a 2.2.0 gateway with 2.3.2 nodes and the suspicious debug message hasn't appeared yet. Maybe I will disable signing at all and test again.
-
MQTT GW with RFM69 on RPi@Yveaux Sure, here it is: https://github.com/mysensors/MySensors/issues/1458
-
RFM69(HW) 433Mhz interference with other home devices?Hey @joaoabs ,
no this is not an intended behaviour. The usage of the frequencies 433 MHz, 868 MHz etc. is limited by regulations. The devices aren't allowed to continously send packets and block a frequency.
I myself am using RFM69(HW) but in 868 MHz mode and Homematic devices that use the same frequency. Works without a problem!
Try to figure out which node jams the frequency by disabling all nodes and switch them on one by one and checkout at which time your garage door stops working.
-
MQTT GW with RFM69 on RPi@Yveaux I'm simply running the stock code from github:
https://github.com/mysensors/MySensors/blob/development/examples_linux/mysgw.cpp
I've only configured (./configure) the make process and that's it. No changes to the code.
Happens with 2.3.2 and 2.4-alpha.
-
MQTT GW with RFM69 on RPiHello!
I've a strange problem with my RPi gateway that happens with my Wemo D1 gateway too. Both gateways are MQTT gateways with an attached RFM69.
For simplicity I focus on the RPi gateway. The gateway uses version 2.3.2 with the configure parameters set:
./configure --my-transport=rfm69 --my-rfm69-frequency=868 --my-is-rfm69hw --my-gateway=mqtt --my-controller-ip-address=192.168.2.13 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1 --my-signing=softwareThe gateway itself works but fires a lot Dec 02 16:09:11 DEBUG !MCO:PRO:RC=1 messages before a message is passed to the mysensors network. Receiving messages works fine.
Here's a debug output from the gateway:
Dec 02 16:08:08 INFO Starting gateway... Dec 02 16:08:08 INFO Protocol version - 2.3.2 Dec 02 16:08:08 DEBUG MCO:BGN:INIT GW,CP=RPNGLS--,FQ=NA,REL=255,VER=2.3.2 Dec 02 16:08:08 DEBUG TSF:LRT:OK Dec 02 16:08:08 DEBUG TSM:INIT Dec 02 16:08:08 DEBUG TSF:WUR:MS=0 Dec 02 16:08:08 DEBUG TSM:INIT:TSP OK Dec 02 16:08:08 DEBUG TSM:INIT:GW MODE Dec 02 16:08:08 DEBUG TSM:READY:ID=0,PAR=0,DIS=0 Dec 02 16:08:08 DEBUG MCO:REG:NOT NEEDED Dec 02 16:08:08 DEBUG MCO:BGN:STP Dec 02 16:08:08 DEBUG MCO:BGN:INIT OK,TSP=1 Dec 02 16:08:08 DEBUG GWT:RMQ:CONNECTING... Dec 02 16:08:08 DEBUG connected to 192.168.2.13 Dec 02 16:08:08 DEBUG GWT:RMQ:OK Dec 02 16:08:08 DEBUG GWT:TPS:TOPIC=mysensors-out/0/255/0/0/18,MSG SENT Dec 02 16:08:08 DEBUG TSM:READY:NWD REQ Dec 02 16:08:08 DEBUG ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK: Dec 02 16:08:08 DEBUG TSF:MSG:READ,99-99-0,s=255,c=3,t=21,pt=1,l=1,sg=0:0 Dec 02 16:08:08 DEBUG GWT:TPS:TOPIC=mysensors-out/99/255/3/0/21,MSG SENT Dec 02 16:08:08 DEBUG TSF:MSG:READ,0-99-255,s=255,c=3,t=20,pt=0,l=0,sg=0: Dec 02 16:08:08 DEBUG TSF:MSG:BC Dec 02 16:08:09 DEBUG TSF:MSG:READ,0-98-255,s=255,c=3,t=20,pt=0,l=0,sg=0: Dec 02 16:08:09 DEBUG TSF:MSG:BC Dec 02 16:08:10 DEBUG TSF:MSG:READ,98-99-0,s=255,c=3,t=21,pt=1,l=1,sg=0:99 Dec 02 16:08:10 DEBUG GWT:TPS:TOPIC=mysensors-out/98/255/3/0/21,MSG SENT Dec 02 16:08:10 DEBUG TSF:MSG:READ,0-97-255,s=255,c=3,t=20,pt=0,l=0,sg=0: Dec 02 16:08:10 DEBUG TSF:MSG:BC Dec 02 16:08:10 DEBUG TSF:MSG:READ,97-99-0,s=255,c=3,t=21,pt=1,l=1,sg=0:98 Dec 02 16:08:10 DEBUG GWT:TPS:TOPIC=mysensors-out/97/255/3/0/21,MSG SENT Dec 02 16:08:39 DEBUG TSF:MSG:READ,98-99-0,s=255,c=3,t=22,pt=5,l=4,sg=0:181035246 Dec 02 16:08:39 DEBUG GWT:TPS:TOPIC=mysensors-out/98/255/3/0/22,MSG SENT Dec 02 16:08:42 DEBUG GWT:IMQ:TOPIC=mysensors-in/98/4/1/0/2, MSG RECEIVED Dec 02 16:08:42 DEBUG TSF:MSG:SEND,0-0-99-98,s=4,c=3,t=16,pt=0,l=0,sg=0,ft=0,st=OK: Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:42 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG !MCO:PRO:RC=1 Dec 02 16:08:43 DEBUG TSF:MSG:READ,98-99-0,s=255,c=3,t=17,pt=6,l=25,sg=0:<NONCE> Dec 02 16:08:43 DEBUG TSF:MSG:SEND,0-0-99-98,s=4,c=1,t=2,pt=0,l=1,sg=1,ft=0,st=OK:1 Dec 02 16:08:46 DEBUG TSF:MSG:READ,97-99-0,s=255,c=3,t=22,pt=5,l=4,sg=0:181033345 Dec 02 16:08:46 DEBUG GWT:TPS:TOPIC=mysensors-out/97/255/3/0/22,MSG SENTgit status ensures that there are no changes to the code.
Any idea what is happening here?
With the Wemos D1 MQTT gateway I've seen the same behaviour, and after a time it escalates to RC=2 and becomes less responsive.
The same happens with the current development version.
-
OH2.5.9 / ethernet gateway / autodiscovery?@Stefferd Don't use UDP for the connection between the gateway and Openhab, it is not supported by the binding.
Are you able to log into the gateway via telnet?
telnet 192.168.80.185 5003 -
OH2.5.9 / ethernet gateway / autodiscovery?@Stefferd Please fulfill the requirement for mqtt of the binding:
feature:install openhab-transport-serial and feature:install openhab-core-io-transport-mqttIf you're starting from the scratch please consider using the MQTT Gateway instead of the binding. I've developed the binding and I am currently not quite sure if I'm able to maintain support for the binding, especially because OpenHAB3 is on its way.