Page 1 of 1
Can I use Domoticz with Onewire sensors?
Posted: Wednesday 07 March 2018 20:36
by rowanbradley
I have just installed Domoticz, so am early in the learning process. Can I use it to read temperatures from a OneWire (Dallas/Maxim protocol) sensor? I have a DS9490R USB to OneWire adapter (which I think creates a virtual serial port). Do I need any additional hardware or software to make this work? If so, where do I get it from?
If this doesn't exist at present, can I write a driver for the OneWire temp sensor? What is involved in this? What tool chain do I need, what language do I write in, are there documents explaining what I have to code in the driver?
Thanks - Rowan
Re: Can I use Domoticz with Onewire sensors?
Posted: Wednesday 07 March 2018 20:54
by SweetPants
Did you search the forum already? There is a lot of information about OneWire support
Re: Can I use Domoticz with Onewire sensors?
Posted: Thursday 08 March 2018 12:22
by rowanbradley
SweetPants wrote: ↑Wednesday 07 March 2018 20:54
Did you search the forum already? There is a lot of information about OneWire support
Yes, I tried. Much of the information in the forum is concerned with running on an Arduino or a Rasp-Pi, which is (I imagine) very different to trying to run on Windows, which I am. If there is a relevant discussion that will help me, please can you point me to it?
Thanks - Rowan
Re: Can I use Domoticz with Onewire sensors?
Posted: Saturday 10 March 2018 12:27
by SweetPants
As far as I can see there is no 1-wire interface to domoticz for Windows, you need a raspberry PI for that. I'm not 100% sure when you add a domoticz slave (raspberry PI with 1-wrie) will work.
Re: Can I use Domoticz with Onewire sensors?
Posted: Saturday 10 March 2018 12:42
by rowanbradley
Surely some people would find this useful?
Surely it can't be that difficult to do? I can use the DS9490R USB-to-OneWire interface, which I believe emulates a serial port...
If it doesn't exist, can I write this extension to Domoticz myself? Is there some documentation and sample code for starting Domoticz development? What tool chain do I need to use? What language do I need to write in?
Thanks - Rowan
Re: Can I use Domoticz with Onewire sensors?
Posted: Saturday 10 March 2018 12:47
by SweetPants
rowanbradley wrote: ↑Saturday 10 March 2018 12:42
If it doesn't exist, can I write this extension to Domoticz myself?
Yes you can, it's an open source project
https://github.com/domoticz/domoticz
rowanbradley wrote: ↑Saturday 10 March 2018 12:42
Is there some documentation and sample code for starting Domoticz development? What tool chain do I need to use? What language do I need to write in?
See
https://github.com/domoticz/domoticz, language is C++
Re: Can I use Domoticz with Onewire sensors?
Posted: Sunday 11 March 2018 11:11
by StanHD
Have you checked out the Domoyicz wiki? I used to have 1-wire working under Windows. (Replaced now with Z-wave Fibaro module which accepts the 1-wire temperature sensors).
Re: Can I use Domoticz with Onewire sensors?
Posted: Sunday 11 March 2018 12:47
by rowanbradley
I just checked the Wiki. It told me where to find a file called OneWireDomoticzServiceInstaller.msi, but when I go to this location, there is no such file. Where do I find this file?
Thanks - Rowan
Re: Can I use Domoticz with Onewire sensors?
Posted: Sunday 11 March 2018 14:53
by StanHD
rowanbradley wrote:I just checked the Wiki. It told me where to find a file called OneWireDomoticzServiceInstaller.msi, but when I go to this location, there is no such file. Where do I find this file?
Thanks - Rowan
Have sent you a PM.
Re: Can I use Domoticz with Onewire sensors?
Posted: Tuesday 12 June 2018 23:57
by akost
Hi,
I'm in the same situation as Rowan. Have also find the link/information about OneWireDomoticzServiceInstaller.msi but no file. Did the PM sent to Rowan solved the problem? Any information that can be shared to others with the same problem?
BR,
Akost
Re: Can I use Domoticz with Onewire sensors?
Posted: Friday 15 June 2018 19:02
by akost
Thanks for your PM Rowan,
I'm not allowed to send any PM (yet?) but I will let you know how I get on with the 1-wire. If weather is poor here in Sweden I will have some time over for some testing...
Thanks