I've started building a network of DS18B20 sensors using a Sheepwalk Electronics DS2482 i2c->1-Wire bridge connected to a Raspberry Pi.
I've made some changes to my version of oem_gateway to allow these to be published.
This has been written up in a series of blog posts, hope they help someone:
Part 1 - Getting I2C and OWFS working
Part 2 - Making OWFS start automatically
Part 3 - Modifying oem_gateway to publish values from OWFS
Re: Modifications to oem_gateway to publish DS18B20 temperatures connected via a DS2482 bridge
Great, thanks for sharing.
I'm glad you could use the object oriented-ness of the OEM Gateway to create your own listener. This is just what I had in mind when designing it this way. Do you have comments on that ? Do you think it help, or did it rather get in the way ? Was is simple to understand ? I know it is not documented enough.
Regarding the way values are sent, this limitation that makes you use "Dummy" values, I wanted to propose named values, which is why this sending mode is used, but I didn't find any simple way to allow the listener to add custom names. Besides, for efficiency reasons, I'll move to bulk mode once some limitations are dealt with in emoncms (discussion here, but it is stalled), so unfortunately, named values won't be possible at all anymore.
I wouldn't mind merging your code but it is quite specific, isn't it ? It could be more confusing than helpful. I may add a link to your code, as an example, though.