Hei.
I want to turn on lights ect by calling the JSON with Windows command line.
Is this somthing I can do? and how?
Call a JSON from Windows Command line
Moderator: leecollings
- bbqkees
- Posts: 407
- Joined: Sunday 17 August 2014 21:01
- Target OS: Linux
- Domoticz version: 4.1x
- Location: The Netherlands
- Contact:
Re: Call a JSON from Windows Command line
Not sure if that is possible without additional software.
you can also just type it into the browser. That will work for sure.
you can also just type it into the browser. That will work for sure.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
- robpow
- Posts: 38
- Joined: Friday 19 July 2013 19:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta :)
- Location: .se
- Contact:
Re: Call a JSON from Windows Command line
Here are two options
Download 'curl' for Windows here:
https://curl.haxx.se/dlwiz/?type=bin&os ... cpu=x86_64
Or try and run the Windows PowerShell command 'Invoke-WebRequest':
https://technet.microsoft.com/en-us/lib ... .620).aspx
Download 'curl' for Windows here:
https://curl.haxx.se/dlwiz/?type=bin&os ... cpu=x86_64
Or try and run the Windows PowerShell command 'Invoke-WebRequest':
https://technet.microsoft.com/en-us/lib ... .620).aspx
-
- Posts: 20
- Joined: Sunday 25 October 2015 16:33
- Target OS: Windows
- Domoticz version: 3.5877
- Contact:
Re: Call a JSON from Windows Command line
I did this to send an off to a switch to make an actual momentary switch for a garage door opener.
y=IDX number of device.
That works well.
x= IP
y=IDX number of device.
That works well.
Who is online
Users browsing this forum: No registered users and 0 guests