Beta release : https://github.com/koffienl/ESPimaticRF
Only use in test environment, not stable for production yet! If you are willing to test, I assume you have some basic knowledge of pimatic, ESP and Arduino IDE.
1 set of RF sender/receiver
Arduino IDE 1.6.5 + ESP8266 core 2.3.0
Download all the files and place in correct folders (ESP8266 core can have older ArduinoJson library, make sure you don’t use that one!)
Compile and upload to ESP
After ESP starting up (can take some time to format SPIFFS), connect to wifi “ESPimaticRF” with password "espimaticrf"
Go to http://192.168.4.1
Enter your wifi credentials, wait for reboot
Go to http://ip_of_esp and upload ALL the files in the SPIFFS folder
Manually reboot ESP
Go to http://ip_of_esp and in the menu select configure
Make correct configurations and save, after save manually restart ESP
Mode : homeduino is the ESP connect to the raspberry pi, node is the ESP somewhere in your room
Recevier pin : Enter the GPIO (not the physical pin name) for the receiver (the receiver pin entry in pimatic-hommeduino plugin is ignored by the ESP!)
Transmitter pin : Enter the GPIO (not the physical pin name) for the transmitter (the transmitter pin entry in pimatic-hommeduino plugin is ignored by the ESP!)
Receive action : what should the ESP do with a received protocol (in homeduino and node mode this can only be received through RF)
Transmit action : what should the ESP do with a to be transmitted protocol (in homeduino mode this can only be received from pimatic, in node mode only through wifi)
Pimatic address: IP or hostname for the node to communicate with pimatic
Pimatic Port : Port where pimatic is running on
API key : The API key to use in the entire network. Must be configure the same in the pimatic-homeduino plugin!
Wifi SSID : SSID for the ESP to connect to
Wifi password : Password for the wifi
What is working?
ESP connected to Raspberry Pi is capable of sending and receiving RF through local RF receiver/transmitter
ESP connected to Raspberry Pi is capable of sending RF over wifi to the nodes
Pimatic is capable of receiving RF over wifi from the nodes
Standalone ESP (node) is capable of receiving RF and sending to pimatic
Standalone ESP (node) is capable of receiving RF over wifi and transmit with local RF
Untested but multiple node should work without a problem
Somehow, sometimes the wifi packet from homeduino to node gets lost. Not sure what 's the cause of this issue (wifi range? buggy homeduino code? buggy node code? Plain simple unreliable UDP code?)
White/blacklisting of specific devices. there is allready some code to determine the protocol/unit/id and it is send to the nodes, but nothing is done yet with the information. Goal is to create a black- or whitelist per node.
Comments, bugs, issues? Please report in this topic