Can I use Domoticz with Onewire sensors?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
rowanbradley
Posts: 21
Joined: Wednesday 07 March 2018 20:28
Target OS: Windows
Domoticz version: 3.9025
Location: Newmarket, Suffolk, UK
Contact:

Can I use Domoticz with Onewire sensors?

Post 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
SweetPants

Re: Can I use Domoticz with Onewire sensors?

Post by SweetPants »

Did you search the forum already? There is a lot of information about OneWire support
rowanbradley
Posts: 21
Joined: Wednesday 07 March 2018 20:28
Target OS: Windows
Domoticz version: 3.9025
Location: Newmarket, Suffolk, UK
Contact:

Re: Can I use Domoticz with Onewire sensors?

Post 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
SweetPants

Re: Can I use Domoticz with Onewire sensors?

Post 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.
rowanbradley
Posts: 21
Joined: Wednesday 07 March 2018 20:28
Target OS: Windows
Domoticz version: 3.9025
Location: Newmarket, Suffolk, UK
Contact:

Re: Can I use Domoticz with Onewire sensors?

Post 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
SweetPants

Re: Can I use Domoticz with Onewire sensors?

Post 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++
User avatar
StanHD
Posts: 347
Joined: Friday 12 July 2013 16:09
Target OS: Windows
Domoticz version:
Location: East Sussex, UK
Contact:

Re: Can I use Domoticz with Onewire sensors?

Post 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).
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
rowanbradley
Posts: 21
Joined: Wednesday 07 March 2018 20:28
Target OS: Windows
Domoticz version: 3.9025
Location: Newmarket, Suffolk, UK
Contact:

Re: Can I use Domoticz with Onewire sensors?

Post 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
User avatar
StanHD
Posts: 347
Joined: Friday 12 July 2013 16:09
Target OS: Windows
Domoticz version:
Location: East Sussex, UK
Contact:

Re: Can I use Domoticz with Onewire sensors?

Post 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.
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
akost
Posts: 3
Joined: Tuesday 12 June 2018 23:48
Target OS: Windows
Domoticz version:
Contact:

Re: Can I use Domoticz with Onewire sensors?

Post 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
akost
Posts: 3
Joined: Tuesday 12 June 2018 23:48
Target OS: Windows
Domoticz version:
Contact:

Re: Can I use Domoticz with Onewire sensors?

Post 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
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest