Page 2 of 16
Re: MySensors - Gateway to Domoticz
Posted: Wednesday 11 February 2015 21:35
by rtenklooster
gizmocuz wrote:rtenklooster wrote:Update: another small issue:
The only unit reporting battery states, is unit 4.
The battery percentage of unit 1 is also updated with unit 4's percentage.
It would be nice to be able to set notifications when a bettery level drops below xx, and show a graph of the battery level.
If possible could you keep talking in mySensors terms ?
Unit = Node_ID ? or Unit = Child_ID ?
What (i tried) todo, when you receive a battery status on for example Node_ID=2, then all sensors of this Node with ID=2 will get the battery status
In the image below you can see an overview of those sensors.
The enly sensor reporting a battery level is slaapkamer R en M

MYSB = 1 mini pro, with 2 sensors, a lux and barometer
Re: MySensors - Gateway to Domoticz
Posted: Friday 13 February 2015 4:32
by chris021
Hi,
I have just started using Domoticz and am loving it. Only issue i have is with my Wx sensor. IT has Indoor Temp & Humidity, Outdoor temp and pressure. Domoticz only shows one temperature. Is there a way to edit the device?
Thanks,
Chris021
Re: MySensors - Gateway to Domoticz
Posted: Sunday 15 February 2015 21:58
by deennoo
Hello,
i try to get Pulsesensor for water and power, using the usb gateway
got this log on domoticz :
2015-02-15 21:55:57.848 MySensors: Node: 69, Sketch Name: Water Meter
but nothing gones on unused device (of course accpet new is active).
I made a temp/hum sensor who works very well.
Any one got an idea ?
Re: MySensors - Gateway to Domoticz
Posted: Wednesday 18 February 2015 17:12
by BluesBro
Does Domoticz support the IR-sensor?
It showes up in the log but not show up in the list of available devices.
Re: MySensors - Gateway to Domoticz
Posted: Wednesday 18 February 2015 17:33
by BluesBro
The distance sensor comes out like this in the log:
2015-02-18 17:32:51.112 MySensors: Node: 2, Sketch Name: Distance Sensor
2015-02-18 17:32:51.121 MySensors: Node: 2, Sketch Version: 1.0
2015-02-18 17:32:51.143 Error: MySensors: Unhandled sensor (sub-type=13), please report with log!
2015-02-18 17:32:56.380 Error: MySensors: Unhandled sensor (sub-type=13), please report with log!
Any clues?
Re: MySensors - Gateway to Domoticz
Posted: Wednesday 18 February 2015 20:20
by Hendrik
can anybody help me
i have connect a usb gateway, this works
when i connect a transmitter with oneWire, and connected 2 sensor to the transmitter
i get 1 new sensor in my devices
when i look into the log, is see 2 readings almost at the same time, but they have the same name
2015-02-18 20:13:05.471 (Mysensor) Temp (sensor)
2015-02-18 20:13:05.610 (Mysensor) Temp (sensor)
2015-02-18 20:13:39.754 (Mysensor) Temp (sensor)
2015-02-18 20:13:39.922 (Mysensor) Temp (sensor)
2015-02-18 20:14:14.043 (Mysensor) Temp (sensor)
2015-02-18 20:14:14.200 (Mysensor) Temp (sensor)
what do i wrong?
i have copy the code from the Mysensor website
Re: MySensors - Gateway to Domoticz
Posted: Sunday 22 February 2015 9:28
by gus
rachmat wrote:gizmocuz wrote:Will be fixed in next beta
another issue, Domoticz doesn't create device for relayactuator. it's only create device for relaywithbuttonactuator skecth. I think because RelayActuator only send sketch once while domoticz will add device after few reading.
Any updates regarding this?
Someone who managed to control a Mysensor relay from Domoticz? I can see the switch, but it will not activate when I trigger button. It works with sw MYSController.
Regards Rickard
Re: MySensors - Gateway to Domoticz
Posted: Wednesday 25 February 2015 19:11
by hansrune
On
http://hansrune.net/domo/DimmableLEDActuator.ino is a sample sketch that should be very similar to a relay actuator. I have used this sketch to test a light switch and a dimmer switch, respectively. See the comment "Choose dimmer or light switch here (0 or 1)" on how to choose between the two before compiling. A useful approach is to gw.send() something relevant to the gateway during setup to make sure the device is created in Domoticz.
Re: MySensors - Gateway to Domoticz
Posted: Wednesday 25 February 2015 19:20
by hansrune
I have attempted to do some level of support for mysensors gw.request() so that switch state or dimmer level can be restored on startup. On the original version, only switches was supported, and reported set to "1" to the remote unit.
I have used the demo sketch from
http://hansrune.net/domo/DimmableLEDActuator.ino to test this.
My C++ skills are rather rusty, but if you can use it, I have posted a patch against revision 2292 to support gw.request() for switches and dimmers on
http://hansrune.net/domo/domoticz_mysen ... uest.patch (patch -p0 < patchfile to apply to source)
Re: MySensors - Gateway to Domoticz
Posted: Saturday 28 February 2015 4:19
by chris021
Has anyone managed to find a way to get 2 x temp sensors to work with Domoticz on the same node?
Re: MySensors - Gateway to Domoticz
Posted: Saturday 28 February 2015 10:03
by hansrune
No. I tried that as well.
Re: MySensors - Gateway to Domoticz
Posted: Tuesday 03 March 2015 19:32
by jadijkstra2000
Not working for me neither
It sees the mysensor in the log, but not in devices..
Anyone any idea?
Re: MySensors - Gateway to Domoticz
Posted: Wednesday 04 March 2015 0:31
by yfaykya
rachmat wrote:gizmocuz wrote:Will be fixed in next beta
another issue, Domoticz doesn't create device for relayactuator. it's only create device for relaywithbuttonactuator skecth. I think because RelayActuator only send sketch once while domoticz will add device after few reading.
You ever get this working? I can't add it either (button or non button one). They do appear in the DB though.
sqlite> select * from MySensors;
2|1|Relay & Button|1.0
Re: MySensors - Gateway to Domoticz
Posted: Wednesday 04 March 2015 19:18
by Sine
Something seems to be wonky, sensors show up in the log
2015-03-04 19:15:43.262 MySensors: Node: 19, Sketch Name: Humidity
2015-03-04 19:15:43.265 MySensors: Node: 19, Sketch Version: 1.0
But no devices are added.
V2.2303
Re: MySensors - Gateway to Domoticz
Posted: Wednesday 04 March 2015 19:27
by jadijkstra2000
They are added to the database right...
But how to add them to switches then?

Re: MySensors - Gateway to Domoticz
Posted: Wednesday 04 March 2015 19:43
by Hendrik
accept new sensors for 5 minutes??
Re: MySensors - Gateway to Domoticz
Posted: Wednesday 04 March 2015 19:46
by jadijkstra2000
Huh? then it should work?
I have a problem with my PiFace..when I do auto-learn for new devices it only finds a PiFace device always..not the intention and other devices it won't find.
Maybe I should disable that device for PiFace and then try again....

Re: MySensors - Gateway to Domoticz
Posted: Wednesday 04 March 2015 20:45
by jadijkstra2000
Tried to accept new sensors for 5 minutes.. but unfortunately it does not work

Re: MySensors - Gateway to Domoticz
Posted: Thursday 05 March 2015 22:50
by Sine
Hendrik wrote:accept new sensors for 5 minutes??
Nope, that is of course necessary, but it doesn't add the device.
Re: MySensors - Gateway to Domoticz
Posted: Saturday 07 March 2015 0:21
by jadijkstra2000
I have it working After a tip of someone. ..
Add a physical switch to the actuator and make sure the actuator can be switched with that physical switch through the arduino. Then it is visible in domoticz!
My next goal is to have a arduino mysensors device with a display so that I can send status updates from domoticz through the arduino gateway to a remote actuator / display