esp8266 as homekit Thermometer for Openhab2
This is my first try to make a wireless thermometer for the homekit via Openhab.
It uses the edited onewire sketch for arduino. It gets the temperature values from esp8266 webserver, we need here the http binding on Openhab. It convert the values to number.
You need to already have Openhab2 running with homekit intergration.
What you need:
- esp8266 module
- Openhab with homekit
- The rules file to convert the string to number
- The items file to connect to esp8266 web server.
How to start:
- First flash the code to esp8266 with arduino IDE.
- Then test it in your web browser, you schould see e.g. only this "21,55" .
- Then install, if you already don´t have, the "http binding" on Openhab2.
- Then save the esp8266.items in your Openhab2 items directory and the temperature.rules to rules directory.
That´s it now have inyour homekit a Thermometer.