Inside single quotes, variables are not interpreted. So you need to use double and bachslash each double quote as this :
mosquitto_pub -h 192.168.1.13 -m "{ \"idx\" : 13, \"nvalue\" : 0, "svalue\" : \"$value\" }" -t "domoticz/in"
Search found 21 matches
- Thursday 24 November 2016 19:13
- Forum: MySensors
- Topic: Virtual Sensor test
- Replies: 3
- Views: 1312
Re: V_ARMED ?
V_ARMED is a status that should only come from the MySensors node ? What are you trying to create ? I thought it was a way to arm/unarm security sensor. So I wanted to use this feature in MYS. But afterards, I think I misunterpreted that Maybe this works: Your node could also publish a normal ...
V_ARMED ?
Hello,
I would like to know if there is a way (script or ...) to send a V_ARMED command to a sensor S_DOOR or S_MOTION type ?
I would like to know if there is a way (script or ...) to send a V_ARMED command to a sensor S_DOOR or S_MOTION type ?
- Saturday 01 October 2016 11:49
- Forum: MySensors
- Topic: ESP8266 gateway to Domoticz
- Replies: 3
- Views: 1298
Re: ESP8266 gateway to Domoticz
I use for a couple of days an ESP with embedded sensors connected as lan gateway. I 'm doing some tests and each time I reflash/restart my ESP, domoticz is not aware that connection is lost. I have then to disable/enable the hardware in setup. It seems that domoticz become aware in about 15 minutes ...
- Wednesday 02 March 2016 22:21
- Forum: RFLink Transceiver
- Topic: Chinese PIR
- Replies: 23
- Views: 12499
Re: Chinese PIR
@Willem81 thanks.
What about battery life ?
What about battery life ?
- Thursday 18 February 2016 22:44
- Forum: RFLink Transceiver
- Topic: Chinese PIR
- Replies: 23
- Views: 12499
Re: Chinese PIR
@Willem81 could you give a link to your chinese PIR sensor, please
- Thursday 21 January 2016 9:18
- Forum: MySensors
- Topic: Unable to control Relay With Button Actuator
- Replies: 10
- Views: 2424
Re: Unable to control Relay With Button Actuator
Right not so easy to debug gateway.
In my case I use node-red. Take a look if you are interested in.
In my case I use node-red. Take a look if you are interested in.
- Wednesday 20 January 2016 22:52
- Forum: MySensors
- Topic: Unable to control Relay With Button Actuator
- Replies: 10
- Views: 2424
Re: Unable to control Relay With Button Actuator
@postaanerik What is the gateway output when you click in domoticz ?
- Friday 08 January 2016 21:04
- Forum: MySensors
- Topic: MySensors - Gateway to Domoticz
- Replies: 318
- Views: 169178
Re: MySensors - Gateway to Domoticz
@gizmocuz any news on my ack issue ?
I just create a pull request on this subject. I never used git so this is my first PR.
I hope I did the right thing
I just create a pull request on this subject. I never used git so this is my first PR.
I hope I did the right thing
- Saturday 02 January 2016 10:46
- Forum: MySensors
- Topic: MySensors - Gateway to Domoticz
- Replies: 318
- Views: 169178
Re: MySensors - Gateway to Domoticz
notify to who or how ?andriej wrote:And it would be also nice to notify that incoming message from MySensors is with ACK.
- Saturday 02 January 2016 10:21
- Forum: MySensors
- Topic: MySensors - Gateway to Domoticz
- Replies: 318
- Views: 169178
Re: MySensors - Gateway to Domoticz
No, my patch is necessary to manage incoming message with ack request (we agree that the answer was sent abck by gateway).gizmocuz wrote:Does this mean all should work fine without your patch?
In order to update sensor status in domoticz, the message must be processed further.
- Wednesday 30 December 2015 21:49
- Forum: MySensors
- Topic: MySensors - Gateway to Domoticz
- Replies: 318
- Views: 169178
Re: MySensors - Gateway to Domoticz
So I checked and you are totally rightfets wrote:I'll check on mysensors sources later.
- Wednesday 30 December 2015 21:44
- Forum: MySensors
- Topic: MySensors - Gateway to Domoticz
- Replies: 318
- Views: 169178
Re: MySensors - Gateway to Domoticz
The acknowledge should be send by the gateway and not by the controller (software application) or did I miss something? Maybe your right, I'll check on mysensors sources later. But anyway the message should be processed by domoticz in order to update status? I downloaded domoticz sources commented ...
- Wednesday 23 December 2015 22:33
- Forum: MySensors
- Topic: MySensors - Gateway to Domoticz
- Replies: 318
- Views: 169178
Re: MySensors - Gateway to Domoticz
Hello, Since several version, I experienced a strange behaviour using domoticz : some messages sent by my node seemed ignored. First I have to tell that some msg sent by my node requieres an acknowledge. So I read sources from domoticz repository and I think I understand what happens. In file ...
- Sunday 15 November 2015 18:19
- Forum: MySensors
- Topic: MySensors - Gateway to Domoticz
- Replies: 318
- Views: 169178
Re: MySensors - Gateway to Domoticz
Already checked, this is the detail (setup) of sensor 11 on domoticz gui : capture-mysensors.png 1) Sensors 2 and 3 receive message type 36. This is the received message on my node : 11;2;1;1;36;1\n 2) :shock: Looking at the picture, I just realize that sensor 5 and 6 are last seen today a few ...
- Sunday 15 November 2015 12:32
- Forum: MySensors
- Topic: MySensors - Gateway to Domoticz
- Replies: 318
- Views: 169178
Re: MySensors - Gateway to Domoticz
I experinced several strange behaviour : S_LIGHT actuator receive type 36 wich is V_LOCK_STATUS. This is normally associated with my other sensors S_LOCK. So in my node I don't check anymore the incoming type for those actuator. S_DOOR sensor send notification but are not managed by domoticz 2.3563 ...
- Sunday 15 November 2015 11:38
- Forum: MySensors
- Topic: MySensors - Gateway to Domoticz
- Replies: 318
- Views: 169178
Re: MySensors - Gateway to Domoticz
Difficult for the moment to get a windows machine.
Do you know if somebody report issues with multisensensor node (in my case 8 : S_TEMP + S_HUM + 2 * S_LIGHT + 2 * S_LOCK + 2 * S_DOOR) ?
Do you know if somebody report issues with multisensensor node (in my case 8 : S_TEMP + S_HUM + 2 * S_LIGHT + 2 * S_LOCK + 2 * S_DOOR) ?
- Sunday 15 November 2015 0:00
- Forum: MySensors
- Topic: MySensors - Gateway to Domoticz
- Replies: 318
- Views: 169178
Re: MySensors - Gateway to Domoticz
Thanks for your answer 1) if you compile from source and set breakpoints (in debug mode a lot more is logged) ! I using domoticz on raspberry pi 2, how do I debug ? , and to debug your nodes, just plug them in and open a serial monitor (like in the ardiono ide) : I already used serial monitor to ...
- Saturday 14 November 2015 18:23
- Forum: MySensors
- Topic: MySensors - Gateway to Domoticz
- Replies: 318
- Views: 169178
Re: MySensors - Gateway to Domoticz
Hello, I would to know a few things on domoiticz : 1- is it possibile to check (log) every incoming/outgoing message to/from gateway. Cause I have a strange behavior with a multisensor node and want to be sure everything sent is received. 2- is it possible using a dummy sensor or a lua script to ...
- Sunday 27 September 2015 12:43
- Forum: MySensors
- Topic: S_LOCK device
- Replies: 9
- Views: 2005
Re: S_LOCK device
Hi thanks for your answer gizmocuz I'm running V2.2969 on a raspberry pi2. My node present itself as : send: 11-11-0-0 s=2,c=0,t=19,pt=0,l=0,sg=0,st=ok: t=19 means S_LOCK Indeed by default on domoticz, I have a light switch which I changed to Door Lock this is my node output by hitting 2 times the ...