EDS OW-SERVER Emulator for 1-wire devices
This is not really a topic related to MySensors devices, but rather an alternative for some to converting to MySensors 1-wire devices.
Do you have a setup where you are using Dallas 1-wire devices on an existing 1-wire network on a Raspberry Pi or similar device? I had this setup that I was using with Domoticz before I got my Vera. The setup used a 1-wire USB interface and I had multiple sensors already wired in an inline setup. This, and I already had OWFS installed and working on my Pi device.
I noticed that Vera had a 1-wire plugin, but it was for a 1-wire to ethernet device called OW-SERVER-ENET. In some searching on this device, I cam across a post on the Vera forum called "MiPi 1wire plugin". This guy had written a perl script that created an XML file that emulated the one that the OW-SERVER device used. In researching his plugin, it did not work for me. It did however give me enough information to build my own using PHP. The emulator that I wrote can be modified to support a number of different 1-wire devices. I currently have temp sensors (DS18S20 and DS18B20) support, 1-wire RTC support (Might need a tweak or two) and a DS2890 1-wire digital pot. It is only 55 lines of PHP code. It uses two commands from the OW File System, "owdir" and "owread" to get the devices and create the XML file.
Once you have that set up on your Pi device, you will need to set up Apache2 and PHP. I will not go into the setup of these. Place the owserver.php file in the root web folder and add a root cron job to run every minute.
The last thing is to install the EDS OWServer plugin and set it up using the instructions here . On your Vera, navigate to Devices > OWServer > Add Devices, and you should see something like this:
Anyways, here is the github link to the file:
Happy trails and Merry Christmas