@Soloam
2 relay for interlocking system and add more security.
I never mesure my current but it's low ... not 10A !
Internal clock is not very precise and can vary with external parameters like temperature. And for this project it's better to have good precision.
It's always better to use relay driver and not directly arduino pin.
Posts made by Fabien
-
RE: 💬 Roller Shutter Nodeposted in OpenHardware.io
-
RE: 💬 MySWeMosGWShield - WeMos Mini MySensors Gateway Shieldposted in OpenHardware.io
@nca78 you are right. I'm using ML01SP2 and range is not good (with PCB or IPEX antenna). I'm adding volatge regulator without success. If I put the PCB on a proto board result are far better. So it's probably interference between ESP8266 and NRF24.
I'm waiting for ML01DP5 but do you know if someone already made a pcb for this one and ESP8266 board (Weemos or other) ? -
RE: 💬 MySWeMosGWShield - WeMos Mini MySensors Gateway Shieldposted in OpenHardware.io
Very bad result with this PCB and Ebyte NRF24 PA+LNA module.
If the shield is distant from the Wemos D1 (not upside) it works fine. There is interference between ESP and NRF I think. -
RE: Your best advice on buying components?posted in General Discussion
You can try TME. Lot of componments, very good service and delivery in 2 days.
-
RE: 💬 Sensebender Gatewayposted in OpenHardware.io
@tbowmo After 2 month on the dev version, no more problem with the gateway. Perhaps it's time to made a new stable release ?
-
RE: RFM69 new driver delayposted in Troubleshooting
@scalz : any news about this problem ? I would like to move to the new driver but after reading this, I think it will be better to wait

-
RE: 💬 Sensebender Gatewayposted in OpenHardware.io
@tbowmo : Just flash my SBGW today with arduino 1.8.5, last boards.txt and dev branch of mysensors.
We will see if it's more stable. All my Node still in 2.1.1 -
RE: 💬 Sensebender Gatewayposted in OpenHardware.io
I have a lot of problem with this gateway. First I think it was caused by network module but with serial sketch I have a lot of issues. After 2 or 3 days, gateway crash. If I remove some sensors reporting every 30 seconds it crash but later.
This morning, all leds are off on the board. After powering off and on it was ok.
I'im using RFM69 with Openhab2 as controller.
Is someone experience same issue ? I will fall back to my old Jeelink gateway (ATmega328 based). -
RE: Strange behaviour with mysensors + RFLinkposted in Troubleshooting
And with RFLink, you can only use 2.4GHz frequency. It doesn't work with RFM69.
Actually I have a MySensors Gateway and a RFLink (not for the same usage) -
RE: Need example for setup : RFLink + mySensors Project with NRF24L01posted in My Project
With this setup, you don't have gateway feature in RFLink. You have to emulate Gateway with th host computer connected to RFLink (assigning NodeId, request presentation, manage acknoledge ...) I think it will be better and simplier to made a gateway.
-
RE: Strange behaviour with mysensors + RFLinkposted in Troubleshooting
@knop With an empty sketch, you have some packets from node to find parent (gateway).
-
RE: Strange behaviour with mysensors + RFLinkposted in Troubleshooting
It's probabley a request to find parent (t=07)
-
RE: 💬 Sensebender Gatewayposted in OpenHardware.io
Hi,
After weeks of tests, it doesn't work well with ethernet and RFM69HW. Every 2 days, I need to power off and on the gateway. Controller can't connect (OH2).
for some reasons, serial doesn't work on my odroid C1 with openhabian. -
RE: RFM69 sleep modeposted in General Discussion
@napo7 : you can use sleep with interrupts :
https://www.mysensors.org/download/sensor_api_20#sleeping -
RE: 💬 Roller Shutter Nodeposted in OpenHardware.io
One test screenshot (not definitive) of my habpanel (openHab 2.0 part).
I'm using OpenHAB mysensors binding (from @TimO), node-red for rules, habpanel for UI, Tasker on android (for example open all RollerShuter just after morning alarm !).
I can access OpenHAB via nginx reverse proxy with https and on my LAN, home automation have a separate VLAN (for security reasons). Thanks a lot to @scalz for this module.

-
RE: 💬 Roller Shutter Nodeposted in OpenHardware.io
Some other photos (sorry, first one is not in the same room) :




-
RE: 💬 Roller Shutter Nodeposted in OpenHardware.io
Finnaly I find a solution with a very good WAF !
I want to keep a sort of manual command (not gateway or controller dependant) and I don't want an expensive solution (my ODACE schneider button are quite expensive and I don't want to buy other button).
But these button measure 38mm depth and @scalz board is about 20mm. My wall boxes are 50mm !
Si I find some special wall boxes with an enclosure for home automation module. It's cheap (about 3€) and very well designed (french RT2012 compliant). I update the sketch with MY_TRANSPORT_WAIT_READY_MS so node can work alone. And I update sketch to work with bistable button. Works well on 2 windows since yesterday.
Here is a photo before :

-
RE: 💬 MySensors NRF5 Platformposted in OpenHardware.io
Hi, I don't us nrf52 yet but as i'm a platformio supporter, There is a new release for nrf52 platform with initial arduino framework support ! Good news, i think I will test nrf52 in few weeks.
https://github.com/platformio/platform-nordicnrf52/releases/tag/v1.2.0 -
RE: 💬 NRF52 Recessed Vibration+Contact sensor for door/windowposted in OpenHardware.io
Why did you use LIS3DH ? ADXL362 seems to be better. You can have 100 mesures / second with 2uA consumption according to this : https://ez.analog.com/docs/DOC-15838
-
RE: 💬 NRF52 Recessed Vibration+Contact sensor for door/windowposted in OpenHardware.io
Can't wait for pcb publishing !
-
RE: 💬 NModule ADXL accelerometer sensor shieldposted in OpenHardware.io
Hello, Have you published example code somewhere ?
-
RE: openHAB 2.2 bindingposted in OpenHAB
@TimO
It works fine now for 1 and 2. If I remember you send me a version few month ago wich updating dimmer value.
Thank you ! -
RE: Are folks here happy with Domoticz?posted in Domoticz
In fact, like @TimO, I use the same setup :
- Openhab2 with binding to get all sensors/actuators
- MQTT interface with Node-red
- node-red rules for "logic"
- Habpanel for GUI
-
RE: Are folks here happy with Domoticz?posted in Domoticz
Openhab is better i think. Setup it's not easy but it ils more flexible. D'or graphing, influx/grafana ils suite easy to setup.
-
RE: openHAB 2.2 bindingposted in OpenHAB
And just another "problem". When I send UP command to my roller shutter node and after a stop, node send me :
17:44:50.032 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 42;1;1;0;3;81 17:44:50.034 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Node 42 found in gateway 17:44:50.035 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Child 1 found in node 42 17:44:50.036 [DEBUG] [ensors.handler.MySensorsThingHandler] - Updating channel: dimmer(V_PERCENTAGE) value to: 81 17:44:50.041 [DEBUG] [ensors.handler.MySensorsThingHandler] - Setting last update for node/child 42/1 to 2017-07-18T17:44:50.000+0200but Item VoletBureau is not updated with this value.
-
RE: openHAB 2.2 bindingposted in OpenHAB
It works when I set networkSanCheckEnabled=false
Why ? before update I have no problem with this. -
RE: openHAB 2.2 bindingposted in OpenHAB
Hello @TimO
I just update my things file but it doesn't work :17:31:22.147 [DEBUG] [org.openhab.binding.mysensors ] - BundleEvent STARTING - org.openhab.binding.mysensors 17:31:22.284 [DEBUG] [org.openhab.binding.mysensors ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.core.thing.binding.ThingHandlerFactory}={component.name=org.openhab.binding.mysensors.factory.MySensorsHandlerFactory, component.id=230, service.id=363, service.bundleid=223, service.scope=bundle} - org.openhab.binding.mysensors 17:31:22.294 [DEBUG] [org.openhab.binding.mysensors ] - BundleEvent STARTED - org.openhab.binding.mysensors 17:31:22.846 [INFO ] [smarthome.event.ThingAddedEvent ] - Thing 'mysensors:bridge-eth:ESPgw' has been added. 17:31:22.890 [DEBUG] [nsors.handler.MySensorsBridgeHandler] - Initialization of the MySensors bridge 17:31:22.904 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:bridge-eth:ESPgw' changed from UNINITIALIZED to INITIALIZING 17:31:22.971 [DEBUG] [ensors.factory.MySensorsCacheFactory] - Cache file: given_ids.cached exist. 17:31:22.975 [DEBUG] [ensors.factory.MySensorsCacheFactory] - Cache (given_ids) content: [0, 211, 8, 42, 15] 17:31:23.001 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Enabling connection watchdog 17:31:23.009 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Connecting to IP bridge [192.168.1.56:5003] 17:31:23.017 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:bridge-eth:ESPgw' changed from INITIALIZING to UNINITIALIZED (HANDLER_INITIALIZING_ERROR) 17:31:23.063 [DEBUG] [rsAbstractConnection$MySensorsWriter] - Sending to MySensors: 0;0;3;0;2; 17:31:23.019 [ERROR] [ome.core.thing.internal.ThingManager] - Exception occurred while initializing handler of thing 'mysensors:bridge-eth:ESPgw': java.lang.NullPointerExceptionAnd after I have :
17:31:23.199 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;14;Gateway startup complete. 17:31:23.218 [INFO ] [smarthome.event.ThingAddedEvent ] - Thing 'mysensors:temperature:ESPgw:TempWC' has been added. 17:31:23.223 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:temperature:ESPgw:TempWC' changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED) 17:31:23.227 [INFO ] [smarthome.event.ThingAddedEvent ] - Thing 'mysensors:humidity:ESPgw:HumWC' has been added. 17:31:23.233 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:humidity:ESPgw:HumWC' changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED) 17:31:23.240 [INFO ] [smarthome.event.ThingAddedEvent ] - Thing 'mysensors:motion:ESPgw:MotionWC' has been added. 17:31:23.250 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:motion:ESPgw:MotionWC' changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED) 17:31:23.255 [INFO ] [smarthome.event.ThingAddedEvent ] - Thing 'mysensors:waterQuality:ESPgw:OrpPiscine' has been added. 17:31:23.267 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:waterQuality:ESPgw:OrpPiscine' changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED) 17:31:23.283 [INFO ] [smarthome.event.ThingAddedEvent ] - Thing 'mysensors:cover:ESPgw:VoletBureau' has been added. 17:31:23.288 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:cover:ESPgw:VoletBureau' changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED) 17:31:23.334 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;0;0;18;2.1.1 17:31:23.336 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Presentation Message received 17:31:23.347 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 0;255;3;0;2;2.1.1 17:31:23.352 [DEBUG] [rsAbstractConnection$MySensorsReader] - Good,Gateway is up and running! (Ver:2.1.1) 17:31:23.372 [INFO ] [al.protocol.ip.MySensorsIpConnection] - Successfully connected to MySensors Bridge. 17:31:27.427 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 211;0;1;0;52;457.6 17:31:27.428 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Node 211 found in gateway 17:31:27.430 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Child 0 not present in node 211 17:31:34.557 [INFO ] [marthome.event.ItemStateChangedEvent] - WhHP changed from 8359822 to 8359834 17:31:34.563 [INFO ] [marthome.event.ItemStateChangedEvent] - PAPP changed from 2540 to 2550 17:31:37.425 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 211;0;1;0;52;459.2 17:31:37.429 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Node 211 found in gateway 17:31:37.432 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Child 0 not present in node 211 17:31:43.693 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 15;3;1;0;16;0 17:31:43.695 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Node 15 found in gateway 17:31:43.696 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Child 3 not present in node 15 17:31:47.422 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 211;0;1;0;52;456.3 17:31:47.424 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Node 211 found in gateway 17:31:47.427 [DEBUG] [rs.internal.gateway.MySensorsGateway] - Child 0 not present in node 211My things file :
Bridge mysensors:bridge-eth:ESPgw [ ipAddress="192.168.1.56", tcpPort=5003, sendDelay=200, networkSanCheckEnabled=true ] { temperature TempWC [ nodeId=15, childId=1 ] humidity HumWC [ nodeId=15, childId=2 ] motion MotionWC [ nodeId=15, childId=3 ] waterQuality OrpPiscine [ nodeId=211, childId=0 ] cover VoletBureau [ nodeId=42, childId=1 ] } -
RE: openHAB 2.0 bindingposted in OpenHAB
Since last update, I have to reinstall mysensors binding from IOT marketplace. But lot of warning when I'm starting :
14:21:30.964 [WARN ] [.smarthome.config.core.Configuration] - Could not set field value for field 'nodeId': Can not set int field org.openhab.binding.mysensors.config.MySensorsSensorConfiguration.nodeId to java.lang.String java.lang.IllegalArgumentException: Can not set int field org.openhab.binding.mysensors.config.MySensorsSensorConfiguration.nodeId to java.lang.String at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:167)[:1.8.0_131] at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:171)[:1.8.0_131] at sun.reflect.UnsafeIntegerFieldAccessorImpl.set(UnsafeIntegerFieldAccessorImpl.java:98)[:1.8.0_131] at java.lang.reflect.Field.set(Field.java:764)[:1.8.0_131] at org.apache.commons.lang.reflect.FieldUtils.writeField(FieldUtils.java:523)[30:org.apache.commons.lang:2.6.0] at org.apache.commons.lang.reflect.FieldUtils.writeField(FieldUtils.java:500)[30:org.apache.commons.lang:2.6.0] at org.apache.commons.lang.reflect.FieldUtils.writeField(FieldUtils.java:560)[30:org.apache.commons.lang:2.6.0] at org.eclipse.smarthome.config.core.Configuration.as(Configuration.java:96)[94:org.eclipse.smarthome.config.core:0.9.0.201706270841] at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.getConfigAs(BaseThingHandler.java:248)[105:org.eclipse.smarthome.core.thing:0.9.0.201706270841] ...And now I can't control my shutters :
14:22:11.672 [WARN ] [ensors.handler.MySensorsThingHandler] - Variable not found, cannot handle command for thing mysensors:cover:ESPgw:VoletBureau of type cover 14:22:11.674 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'VoletBureau' received command UP 14:22:11.682 [INFO ] [marthome.event.ItemStateChangedEvent] - VoletBureau changed from NULL to 0 14:22:13.198 [WARN ] [ensors.handler.MySensorsThingHandler] - Variable not found, cannot handle command for thing mysensors:cover:ESPgw:VoletBureau of type cover 14:22:13.200 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'VoletBureau' received command STOP 14:22:14.063 [WARN ] [ensors.handler.MySensorsThingHandler] - Variable not found, cannot handle command for thing mysensors:cover:ESPgw:VoletBureau of type cover 14:22:14.064 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'VoletBureau' received command UP 14:22:17.362 [DEBUG] [rsAbstractConnection$MySensorsReader] - Message from gateway received: 211;0;1;0;52;464.1bundle info :
223 | Active | 80 | 2.2.0.201707181152 | MySensors Binding -
RE: 💬 Roller Shutter Nodeposted in OpenHardware.io
@scalz, little mistake on BOM, C4 is 100n AND 10n ..
-
RE: 💬 Roller Shutter Nodeposted in OpenHardware.io
There is a mistake on the above photo. Radios are on the wrong way (180°)
-
RE: Node-Red as Controllerposted in Node-RED
Yes my requierement is to send ACK from node-red controller, wait 1s for the message back from the node and send it 5 times. If it's not ok I let the swtich (only example, it can be another actuator) in the last state. For only one message it's quite easy but when you want to handle multiple message (and sometimes the same command), it's more difficult to handle the queue correctly.
-
RE: Node-Red as Controllerposted in Node-RED
Someone here have a flow working with ACK messages ? And retry feature ? For example 5 retries before failling ?
-
RE: NRF24L01+ genuine vs. counterfeit - checked some modulesposted in Hardware
So Itead modules seems to be geniune (base on your photos) sorry for smartphonne "quality"


-
RE: Need volunteer to test dualboot OTA with MyControllerposted in MyController.org
I'm updating all my firmware with MyController without any problem (dualoptiboot)
-
RE: Troubleshoot Nano temp/humidity to ESP8266-MQTT gateway issueposted in Troubleshooting
Triple check wires (and change them, sometimes dupont câble are bad) on Gateway side.
-
RE: Next generation temperature sensor for MySensorsposted in General Discussion
"official" sketches that depends on external librairies : https://github.com/mysensors/MySensorsArduinoExamples
-
Add V_FREQUENCYposted in Feature Requests
For some measurment (like mains power) We can need V_FREQUENCY, it can be add to S_MULTIMETER
-
RE: Receiving but !TSM:UPL:FAIL and no communication? 2.1.1 issue?posted in Troubleshooting
@chbla Good news ! Now you can play with sensors !
-
RE: Receiving but !TSM:UPL:FAIL and no communication? 2.1.1 issue?posted in Troubleshooting
In your gateway your don't
#define MY_RFM69_FREQUENCY RF69_433MHZ. By default it sets to RF69_868MHZ -
RE: Receiving but !TSM:UPL:FAIL and no communication? 2.1.1 issue?posted in Troubleshooting
I just build a new one because I bought a sensebender Gateway !
So my new setup :RFM69 -> Wemos Mini D1 SS -> GPIO16 (D0) SCK -> GPIO14 (D5) MISO -> GPIO12 (D6) MOSI -> GPIO13 (D7) IRQ -> GPIO15 (D8)Connect GND and 5V power (in my case I Don't use breakout board but direct connection to RFM69
Sketch :
#define MY_DEBUG // Use a bit lower baudrate for serial prints on ESP8266 than default in MyConfig.h #define MY_BAUD_RATE 9600 #define MY_RADIO_RFM69 #define MY_RF69_IRQ_PIN 15 #define MY_RF69_SPI_CS 16 #define MY_RF69_IRQ_NUM 15 #define MY_GATEWAY_ESP8266 #define MY_ESP8266_SSID "Fab-WLAN" #define MY_ESP8266_PASSWORD "password" #define MY_PORT 5003 #define MY_GATEWAY_MAX_CLIENTS 2 #include <ESP8266WiFi.h> #include <MySensors.h> void setup() { } void presentation() { } void loop() { }With your Breakout board you must add :
#define MY_IS_RFM69HWAnd now the log with some testing sensors :
0;255;3;0;9;MCO:BGN:INIT GW,CP=RRNGE--,VER=2.1.0-beta 0;255;3;0;9;TSF:LRT:OK 0;255;3;0;9;TSM:INIT 0;255;3;0;9;TSF:WUR:MS=0 scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 5 cnt 0;255;3;0;9;TSM:INIT:TSP OK 0;255;3;0;9;TSM:INIT:GW MODE 0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0  f r0, connected with Fab-WLAN, channel 1 dhcp client start... scandone ..ip:192.168.1.55,mask:255.255.255.0,gw:192.168.1.1 .IP: 192.168.1.55 0;255;3;0;9;MCO:BGN:STP 0;255;3;0;9;MCO:BGN:INIT OK,TSP=1 pm open,type:2 0 0;255;3;0;9;TSF:MSG:READ,15-15-0,s=3,c=1,t=16,pt=1,l=1,sg=0:0 0;255;3;0;9;TSF:MSG:READ,15-15-0,s=3,c=1,t=16,pt=1,l=1,sg=0:1 0;255;3;0;9;TSF:MSG:READ,15-15-0,s=3,c=1,t=16,pt=1,l=1,sg=0:0 -
RE: Receiving but !TSM:UPL:FAIL and no communication? 2.1.1 issue?posted in Troubleshooting
Very strange, I have a wemos mini gateway working fine (With nodeMCU i have a lot of commmunication probelms because of regulator). Do you have other radios for testing ? With your wemos+nodemcu did you connect GND together ?
Wdt resets probably occurs because your usb power supply isn't sufficent. -
RE: Receiving but !TSM:UPL:FAIL and no communication? 2.1.1 issue?posted in Troubleshooting
Actually you are powering your RFM69 with your 3V from your NodeMCU. It cannot work because you have a 3.3V regulator on the RFM69 board AND 3.3V on NodeMCU is not very good.
First you can try to move your red wire from 3V to VIN on the NodeMCU side. It can works f you use a good USB power supply (1A min).
Just another tip : check in your gateway sketch you have#define MY_IS_RFM69HW -
RE: Receiving but !TSM:UPL:FAIL and no communication? 2.1.1 issue?posted in Troubleshooting
Forget the cap with RFM69 modules. Did you put a one wire antenna (164.7 mm) ?
Regulator on breakout board is ok. And what about your VIN power ? Is it sufficient ?
Can you post photo of your GW ? -
RE: 💬 Sensebender Gatewayposted in OpenHardware.io
Just try standard GatewayW5100MQTTClient sketch. It works fine with RFM69HW
On your log you seems to have issue with your IP. Just my log :0;255;3;0;9;MCO:BGN:STP 0;255;3;0;9;MCO:BGN:INIT OK,TSP=1 IP: 192.168.1.47 0;255;3;0;9;Attempting MQTT connection... 0;255;3;0;9;MQTT connected 0;255;3;0;9;Sending message on topic: mygateway1-out/0/255/0/0/18 0;255;3;0;9;TSF:MSG:READ,15-15-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSF:MSG:BC 0;255;3;0;9;TSF:MSG:FPAR REQ,ID=15 0;255;3;0;9;TSF:PNG:SEND,TO=0 0;255;3;0;9;TSF:CKU:OK 0;255;3;0;9;TSF:MSG:GWL OK 0;255;3;0;9;TSF:MSG:SEND,0-0-15-15,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;TSF:MSG:READ,15-15-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1 0;255;3;0;9;TSF:MSG:PINGED,ID=15,HP=1 0;255;3;0;9;TSF:MSG:SEND,0-0-15-15,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=OK:1 0;255;3;0;9;TSF:MSG:READ,15-15-0,s=3,c=1,t=16,pt=1,l=1,sg=0:1 0;255;3;0;9;Sending message on topic: mygateway1-out/15/3/1/0/16 -
RE: Receiving but !TSM:UPL:FAIL and no communication? 2.1.1 issue?posted in Troubleshooting
You issue is on GW. Node ping GW, GW recieve ping but pong response is never recieve by node.
NodeMCU and especially Chinese clone doesn't have a good 3.3V regulator. Try to power your radio module with external 3.3V (but connect GND together).
I highly recommand you to use another device like Wemos for GW -
RE: openHAB 2.0 bindingposted in OpenHAB
Yes you can using proxy items and rules. see example here : https://github.com/mortommy/MySensorDioder
But why not switching to ethernet/serial gateway with @TimO OH2 plugin ? -
RE: why no one uses latching relays ?posted in Hardware
OMRON G5Q consume 0.2W : https://www.omron.com/ecb/products/pdf/en-g5q.pdf (125mW for 5V version). Very small packaging
-
RE: 💬 Sensebender Gatewayposted in OpenHardware.io

Thank you @scalz !
You must have a very well calibrated printer to print it correctly. First try fails (oozing due to overtemp)
Other side tomorrow ! -
RE: 💬 Sensebender Gatewayposted in OpenHardware.io
I try with 2 different USB cable and 2 computer (1 laptop and 1 desktop). Same problem. With a charger too. And sorry for the mistake, it's D5 (orange)
On log[ 4788.031324] usb 1-8: USB disconnect, device number 6 -
RE: 💬 Sensebender Gatewayposted in OpenHardware.io
@tbowmo : Same with udev rules (but this file is not necessary because modemmanger is not installed).
I try to power SBGW with usb, D4 goes ON. After pressing reset, D4 goes OFF and never goes on (I must unplug/plu usb power). Do you have the same with your board ? Perhaps a problem with bootloader ? -
RE: 💬 Sensebender Gatewayposted in OpenHardware.io
@tbowmo : It's better for seeing debug from start.
But there is 2 bugs :- When you want to upload sketch. /dev/ttyACM0 disapear (and D4 goes off) afterunplu/plug it works for uploading sketch (D4 off) but at the end of uplaod ArduinoIDE makes a soft reset and /dev/ttyACM0 disapear. Works fine after plus/unplug (D4 ON)
- When pressing reset /dev/ttyACM0 disapear (and D4 goes off). Works fine after plug/unplug
-
RE: 💬 Sensebender Gatewayposted in OpenHardware.io
Ok :
sudo apt-get --purge remove modemmanager -
RE: 💬 Sensebender Gatewayposted in OpenHardware.io
@tbowmo said in
Sensebender Gateway:modem manager snatch any ACM devices
Yes it's ubuntu ... Do you know how to avoid this ? udev ?
-
RE: 💬 Sensebender Gatewayposted in OpenHardware.io
@tbowmo I'm using the serial sketch.
I have few issues (I think) :- when I want to upload a new sketch, first time after powering by computer, every led goes off and SBGW seems to be disconnected. When I unplug/plug, no led are on or blink, but detection is ok and I can upload a firmware.
- When I press RESET after connecting SBGW on my computer, all led goes off and SBGW disconnect.
And it doesn't seems to wait when I plug computer, led start blinking ...
-
RE: 💬 Sensebender Gatewayposted in OpenHardware.io
@MLs reload board definition from IDE
I have a little annoying bug : I can't reset de gateway. When resetting, I loose communication with my computer (linux) same after loading a new sketch (last version with IDE 1.8.1 and def 1.0.4))
[13727.746445] usb 1-1: new full-speed USB device number 9 using xhci_hcd [13727.892970] usb 1-1: New USB device found, idVendor=1209, idProduct=6949 [13727.892974] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [13727.892977] usb 1-1: Product: Sensebender GW [13727.892980] usb 1-1: Manufacturer: MySensors.org [13727.895690] cdc_acm 1-1:1.0: ttyACM1: USB ACM device [13749.066589] usb 1-1: USB disconnect, device number 9So I can't check debug messages from init.
-
RE: SensebenderGateway + Wifi esp8266ex + Radio nrf24l01posted in Hardware
Another solution is to use serial sketch on SensebenderGateway + Firmware (like esp-link) on esp8266.
-
RE: Error after upload new sketch.posted in Troubleshooting
MCO is for Mysensors COre Message : https://ci.mysensors.org/job/Verifiers/job/MySensors/branch/development/Doxygen_HTML/group__MySensorsCoregrp.html#details
MCO:BGN:STP is for setup function. Your node rebooting in the setup function.Without your sketch it's difficult to help you.
-
RE: Error after upload new sketch.posted in Troubleshooting
read this : https://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help
You probably have radio issues. -
RE: Sensor IDs, best practices?posted in Development
I think (note tested) it is possible with platformio with multiple environment
Like this :[common] lib_deps_builtin = MySensors [env:uno_room1] platform = atmelavr framework = arduino board = uno build_flags = -DMY_NODE_ID=10 [env:uno_room2] platform = atmelavr framework = arduino board = uno build_flags = -DMY_NODE_ID=20 -
RE: openHAB 2.0 bindingposted in OpenHAB
This binding works fine with 2.1.1 sensors actually Temp/Hum, Ph/ORP, RollerShutters. thanks for your work on this binding @TimO !
Is this binding work with firmware update : http://docs.openhab.org/administration/runtime.html ? -
RE: 💬 Sensebender Gatewayposted in OpenHardware.io
@tbowmo Ok I will install arduino IDE to upgrade it to 2.1.1
Please post here iwhen you have more information. I think I will try but I have no experience with this architecture. -
RE: 💬 Sensebender Gatewayposted in OpenHardware.io
@tbowmo : Did you try to use this board with platformio ?
-
RE: 💬 Carte Fil Pilote MySensors NRF24L01posted in OpenHardware.io
@hek ok but it could be useful to have localized sub-forum if community is big enough (French, Deutsh, Spanish ...) with some moderators. Sometimes I don't answer because it takes me more time in english.
-
RE: 💬 Carte Fil Pilote MySensors NRF24L01posted in OpenHardware.io
@napo7 said in
Carte Fil Pilote MySensors NRF24L01:@Fabien, j'ai fait quelques recherches, et je suis tombé sur çe messages sur un blog :
http://www.looic.com/2016/02/pilotage-de-radiateurs-electriques-par-domoticz-le-materiel/En resumé, un module ZWave existe pour gérer le fil pilote. Comme le ZWave n'est par contre pas prévu, lui, pour ce protocole, ils ont faire reconnaitre le module comme un variateur de lumière.
Ainsi, les ordres varient de 0 à 100% par tranche de 10%, la dernière tranche allant de 50 à 100%, par ordre de "puissance" du chauffage : arret, hors gel, eco (qui est souvent égal à confort -3°), confort -2°, confort -3°, confort
Ingénieux
Ensuite, il "suffit" dans domoticz de gérer des programmations journalière/hebdo afin d'envoyer aux heures voulues, et aux chauffages voulus, les ordres de variation qui vont bien (0%, 10%, 20%, etc....)
Voila une solution qui me plait !
Cette solution pourrait être discutable mais par soucis de compatibilité avec les widgets des controlleurs, je vais utiliser la même chose.
-
RE: 💬 Carte Fil Pilote MySensors NRF24L01posted in OpenHardware.io
Je serais preneur du sktech, car je ne vois pas bien a part en utilisant S_CUSTIOM, V_VAR comment gérer les ordres. Il y a peut-être la possibilité d'utiliser S_INFO mais je ne trouve pas ça très propre.
-
RE: [SOLVED] ADAFRUIT rfm69hcw breakout - doesnt respondposted in Troubleshooting
@abrasha said:
@scalz
I only have nano and uno so no 3.3v to test. But I think this adafruit board is meant to receive 5v on all pins.
What do you mean one core on the antenna wire? Solid wire instead of couple of tiny wires inside? Can it make this error happen?No.
-
RE: Node only works for a few daysposted in Troubleshooting
First switch your gateway to 2.1.0 stable.
I think sensors.begin must be in setup not in loop.
And I think you have perhaps TX problem on gateway side (after reading logs).
Retry with 2.1.0 on both sides, compile node sketch with sensors.begin in setup, turn on log on node and gw.
When you have failure, try to reboot only gateway and wait until node try to find parent. Make the same test but this time reboot only node. -
RE: HELP !! cannot make Sensor work with RFM69posted in Troubleshooting
Ok try t add this in your Gateway sketch (before MySensors.h) :
#define MY_RF69_IRQ_PIN 4 // GPIO 4 #define MY_RF69_IRQ_NUM 4 #define MY_RF69_SPI_CS 15 // GPIO 15I have exactly the same setup on gateway, working fine.
-
RE: MY_TRANSPORT_DONT_CARE_MODEposted in Troubleshooting
set MY_TRANSPORT_WAIT_READY_MS to something different to 0.
-
RE: Pin-compatible RFM69?posted in Hardware
Yes physical layout is not the same. See HopeRF documentation for pinout but if I remember it's the same.
-
RE: Pin-compatible RFM69?posted in Hardware
@mfalkvidd said:
@Aron-Sjöberg Adafruit seem to have exactly what you are looking for https://www.adafruit.com/products/3071
This is for HCW not HW be careful.
-
RE: !TSM:FPAR:FAIL node and gateway communication problems?posted in Troubleshooting
did you try https://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help
According with this flowchart, you can try to change radio on node. -
RE: HELP !! cannot make Sensor work with RFM69posted in Troubleshooting
MISO, MOSI, etc ... are 5V outputs and RFM69 unlike NRF24 is not 5V tolerant even if it's powered with 3.3V
-
RE: HELP !! cannot make Sensor work with RFM69posted in Troubleshooting
You powered your radio with 3.3V but UNO outputs are 5V (except some specials boards like iteaduino). I fried 1 radio with this mistale !
-
RE: HELP !! cannot make Sensor work with RFM69posted in Troubleshooting
@christophe-cluzel said:
Arduino Board (I have tried with a UNO and a NANO as well)
Uno is 5V powered and RFM69 inputs are not 5V compliant. Perhaps your radio is dead.
-
RE: !TSM:FPAR:FAIL node and gateway communication problems?posted in Troubleshooting
Wich controller you use ? Node ID attribution is coming from controller, not gateway.
-
How to handle calibration value ?posted in General Discussion
With my ORP sensors, I have to calibrate it every years (same for PH probe).
What is the best way to calibrate sensors with MySensors in you opinion ?
Use same child id (for sending data) ? Or another one ? -
RE: openHAB 2.0 bindingposted in OpenHAB
I try to send ORP calibration value to my sensors but it doesn't work.
NODE_ID : 10, CHILD_NODE_ID : 0
When I'm recieve ORP from my sensors it's ok :13:55:38.216 [DEBUG] [rs.internal.protocol.MySensorsReader] - 10;0;1;0;52;996.3But when I change the value, the value is not send :
14:09:24.051 [INFO ] [marthome.event.ItemStateChangedEvent] - orp01 changed from 40 to 50 14:09:24.266 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'orp01' received command 60 14:09:24.266 [DEBUG] [rs.internal.protocol.MySensorsWriter] - Sending to MySensors: 10;0;1;0;0;Item :
Number orp01 "Redox [%.1f mV]" <faucet> (gPiscine) { channel="mysensors:waterQuality:gateway:orp01:orp"}Sitemap :
sitemap test label="Main Menu" { Frame label="Piscine" { Setpoint item=orp01 label="Calirabte ORP" minValue=0 maxValue=1000 step=10 } } -
RE: Disable node ACKposted in Troubleshooting
Ok I just see you are using @scalz new driver. I can't help you more on this driver but it still in dev.

