Domoticz Basis
27 July, 2018
17:08
Item | Waarde |
IP-Address Server | 192.168.0.5 |
Server Port | 8080 |
IP-Address ESP8266 | 192.168.0.15 |
Port ESP8266 | 5003 ? |
JSON/API
https://www.domoticz.com/wiki/Domoticz_API/JSON_URL%27s
http://192.168.0.5:8080/json.htm?type=command¶m=udevice&idx=10&nvalue=558&rssi=10&battery=85
Svalue/nvalue is heel belangrijk !!!
Additional parameters (signal level & battery level)
There are two additional parameters for the above commands, to specify the signal level (default 12) and the battery level (default 255)
battery level 255 = no battery device, else 0-100
example: &rssi=10&battery=89
Pasted from <https://www.domoticz.com/wiki/Domoticz_API/JSON_URL%27s>
Hardware types/subtypes
https://github.com/domoticz/domoticz/blob/development/hardware/hardwaretypes.h
https://github.com/domoticz/domoticz/blob/development/main/RFXtrx.h
MySensors
https://www.mysensors.org/download/serial_api_20
https://www.mysensors.org/apidocs/group__MyMessagegrp.html
https://www.domoticz.com/wiki/MQTT
Reserved IDx
It's very easy to create a range of reserved Idx, because fill form once and press "Add"-button many.
Screen clipping taken: 30-Jul-18, 10:02
Screen clipping taken: 29-Jul-18, 13:55
Arduino
Je moet de volgende bibliotheek hebben (krijg je ook een aantal voorbeeldprogramma's bij):
Presence detection: https://www.domoticz.com/wiki/Presence_detection
Algemen uitleg: https://gathering.tweakers.net/forum/list_messages/1650110
Install on raspi: https://www.domoticz.com/wiki/Raspberry_Pi#The_.22easy.22_way
https://diyprojects.io/domoticz-installation-configuration-raspberry-pi-3-2/
Created with Microsoft Office OneNote 2007
One place for all your notes and information