Hi,
I have a question to control device with Domoticz trought serial interface RS-485.
Currently I have Exta Free system in my home, is very simple system for control lightnings.
http://extafree.pl/en/
I have few modules for control lightning on/off without feedback, just send a command. Is possible to control modules trought RS-485 translator RS485/EXTA FREE RXM-0.
Is it possible to control with Domoticz by sending information.
I` dlike to control lights by Domoticz use my Exta Free system. When I press switch light in Domoticz, it have to be send to RS-485 translator.
Any advice?
Domoticz and RS-485 connection
Moderator: leecollings
-
- Posts: 10
- Joined: Monday 04 January 2016 8:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Poland Gdańsk
- Contact:
-
- Posts: 10
- Joined: Monday 04 January 2016 8:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Poland Gdańsk
- Contact:
Re: Domoticz and RS-485 connection
Any news?
LG G2 mini
LG G2 mini
-
- Posts: 140
- Joined: Wednesday 17 December 2014 17:30
- Target OS: Linux
- Domoticz version: V3.8650
- Location: Jyväskylä, Finland
- Contact:
Re: Domoticz and RS-485 connection
You have to have separate app or script what does the actual modbus call. You can call this app/script from "on action" and "off action" field in switch settings(edit switch).
LXC(x64 Ubuntu Xenial), RFXtrx433E, MySensors
-
- Posts: 843
- Joined: Sunday 23 February 2014 17:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: mixed
- Location: Hengelo(Ov)/NL
- Contact:
Re: Domoticz and RS-485 connection
Perhaps this thread gives some ideas how to implement an RS485-interface for your application:
http://www.domoticz.com/forum/viewtopic.php?f=14&t=5808
http://www.domoticz.com/forum/viewtopic.php?f=14&t=5808
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
-
- Posts: 10
- Joined: Monday 04 January 2016 8:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Poland Gdańsk
- Contact:
Re: Domoticz and RS-485 connection
pj-r Do You have any example?
I was also thinking to use Arduino and mysensor gateway connected via usb to domoticz.
I was also thinking to use Arduino and mysensor gateway connected via usb to domoticz.
-
- Posts: 10
- Joined: Monday 04 January 2016 8:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Poland Gdańsk
- Contact:
Re: Domoticz and RS-485 connection
I`d like to write a program in Python which send a string use a MODBUS RTU as master. I will use in Domoticz script lua assigned with switch which will start python program.
For example: I press light switch, then lua script will start program in python which will start send command trough Modbus?
Is it correct way?
Anybody can write me program like that? I will Pay ofcourse..
For example: I press light switch, then lua script will start program in python which will start send command trough Modbus?
Is it correct way?
Anybody can write me program like that? I will Pay ofcourse..
-
- Posts: 140
- Joined: Wednesday 17 December 2014 17:30
- Target OS: Linux
- Domoticz version: V3.8650
- Location: Jyväskylä, Finland
- Contact:
Re: Domoticz and RS-485 connection
Take a look at https://minimalmodbus.readthedocs.io/en ... ical-usage. Just remove the read part and set correct values and you are good to try.
After first tests you can add command line arguments reading. So you can give command line parameters of where to connect and what switch and what value. http://www.tutorialspoint.com/python/py ... uments.htm
I think there is plenty of examples on internet.
After first tests you can add command line arguments reading. So you can give command line parameters of where to connect and what switch and what value. http://www.tutorialspoint.com/python/py ... uments.htm
I think there is plenty of examples on internet.
LXC(x64 Ubuntu Xenial), RFXtrx433E, MySensors
-
- Posts: 1
- Joined: Tuesday 14 August 2018 18:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz and RS-485 connection
Hi did you connect your exta free by rs485 ?
Jeśli udało się to proszę o info jak rozwiązałeś modbus.
Jeśli udało się to proszę o info jak rozwiązałeś modbus.
Who is online
Users browsing this forum: No registered users and 0 guests