how to control domoticz from internet with arduino

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
BartSr
Posts: 395
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

how to control domoticz from internet with arduino

Post by BartSr »

Hi !
From a webbrowser I can control domoticz by:
domoticzIP:8080/json.htm?type=command&param=udevice&idx=1078&nvalue=0&svalue=10;20;0
This 'command' gives a virtual tempsensor with IDX=1078 a value.

Now I want to do same using an Arduino using :
(just one line of code displayed. there is already a connection with domoticz)

client.print("GET /json.htm?type=command&param=udevice&idx=1078&nvalue=0&svalue=10;20;0");

But this does not give any result.
Does Domoticz require a setting to accept this "controldata"?
Maybe anyone has a working example? I tried several from the web but all without the desired result.....

Any help is welcome.
BTW I am an absolute beginner in trying to transmit data in this way.

KR
-Bart
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
freijn
Posts: 536
Joined: Friday 23 December 2016 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Netherlands Purmerend
Contact:

Re: how to control domoticz from internet with arduino

Post by freijn »

Do you have set requests coming from the same network does not require to use login password?
BartSr
Posts: 395
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

Re: how to control domoticz from internet with arduino

Post by BartSr »

wow.... such a simple thing.
works like a charm now

thanks a lot !!
-Bart
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
GiorgioIT
Posts: 1
Joined: Sunday 18 November 2018 21:22
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: how to control domoticz from internet with arduino

Post by GiorgioIT »

I would like to start doing something with arduino, could you give me some clues or sketch arduino to start trying ?????
BartSr
Posts: 395
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

Re: how to control domoticz from internet with arduino

Post by BartSr »

@ GiorgioIT
What you wanna achieve?
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
freijn
Posts: 536
Joined: Friday 23 December 2016 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Netherlands Purmerend
Contact:

Re: how to control domoticz from internet with arduino

Post by freijn »

GiorgioIT wrote: Sunday 18 November 2018 22:14 I would like to start doing something with arduino, could you give me some clues or sketch arduino to start trying ?????
https://www.letscontrolit.com/wiki/index.php/ESPEasy

all you need :-)
Ranchor
Posts: 1
Joined: Thursday 07 February 2019 12:12
Target OS: Windows
Domoticz version:
Contact:

Re: how to control domoticz from internet with arduino

Post by Ranchor »

Thanks for the link you posted, it's been helpful to me. Here is a link to my work.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest