Questions tagged [domoticz]

Domoticz is a light-weight home automation system that communicates with various hardware and has a browser-based user interface.

Domoticz is a home automation system designed to control various devices and receive input from various sensors.

For example this system can be used with:

  • Light switches
  • Door sensors
  • Doorbells
  • Security devices
  • Weather sensors like: UV/Rain/Wind Meters
  • Temperature Sensors
  • Pulse Meters
  • Voltage / AD Meters
23 questions
1
vote
0 answers

How to show when device is connected or disconnected in webpage

I am currently using domotz to shows when a device is connected. I currently in cell 4 show a green check mark for connectivity, how would I for cell 4 put an x mark for when it is disconnected because right now it does not separate weather it is…
StackGuru
  • 133
  • 7
1
vote
1 answer

How do I install lua dev libraries on MacOS?

I need to install liblua5.3-dev for compiling a code project called Domoticz. I tried using 'brew' and 'luarocks' but it seems it doesn't provide me the development libraries but only a runtime/interpretor. How do I install liblua5.3-dev on macOS…
Huupke
  • 1,158
  • 1
  • 13
  • 25
1
vote
1 answer

Lowest value from 2 payloads in Node-Red

I have a IoT system in home and two temperature sensors. One of the sensors could work in some hours in direct sun. The real temperature is always the lowest value, so sometimes temp1, sometimes temp2. What I want to achieve is: read the…
Tikky
  • 1,253
  • 2
  • 17
  • 36
1
vote
0 answers

node-red GPIO status not seen by domoticz and vice versa

I have a Raspbery pi3 with domoticz and Node-red installed. both are using GPIO with sysfs. When changing an output to high in either domoticz or node-red the value in the file is set to 1. (/sys/class/gpio/gpio/value) When setting an output high in…
Peter
  • 13
  • 4
1
vote
2 answers

Control remote pi GPIO with domoticz

There are 2 pi in this setup: - PI-domo: running domoticz - PI-pump: controlling a pump with one GPIO Those pi are far away, but can communicate through network. PI-domo has some passwordless ssh login setup to pi-pump, and contains three…
user1747036
  • 524
  • 4
  • 12
0
votes
2 answers

Getting correct IP address but not sending code

I would like to send request to domoticz: http://192.168.1.204:8084/json.htm?type=command¶m=udevice&idx=3&svalue=5000 (address tested and changing value in domoticz device) I've used basic example to connect arduino to the network. It's getting…
Lucas
  • 3
  • 1
0
votes
0 answers

Python, error installing telepot after upgrading to python 3.11

I use Domoticz on my Raspberry pi (3B+) and decided to update the system and Python to version 3.11.2. After the update, the Telgram bot script stopped working. It turned out that it does not invent the Telepot package. When I try to install this…
mattek
  • 1
0
votes
1 answer

Domoticz virtual sensor: how to set initial value

I have a device that reads the P1 port of a smart meter. I have created a virtual sensor for the smart meter and, through a simple shell script, I can set the meter readings in Domoticz. This works well. However, for the devices (both electricity…
Ljm Dullaart
  • 4,273
  • 2
  • 14
  • 31
0
votes
1 answer

Running PHP scripts on Synology from within Docker container

Today I had to move my Domoticz/jadahl/Synology setup to one that runs in a Docker container. While this didn’t give any problems, I have one issue. Domoticz allows scripts to be executed when a switch is toggled. I have been running PHP scripts for…
vespino
  • 1,714
  • 3
  • 15
  • 28
0
votes
1 answer

SyntaxError: invalid syntax on python script

I'm not familiar with Python, but I made the following script with searching on Google. The script pulls out data from a device and injects it in Domoticz. When I run the script on my Windows machine, every minute it loops correctly and injects the…
Bjorn Meijer
  • 21
  • 1
  • 5
0
votes
0 answers

Bash script - how can I concatenate string with a variable and use as message for MQTT

I am trying to create a script in bash in order to republish 1 MQTT message for 3 virtual sensors in Domoticz. I am running into a trouble while creating message part for mossquito_pub command #!/bin/bash # This script subscribes to a MQTT topic…
0
votes
2 answers

Issues with turning json data into an variable in python

I have been working on an educational project a small part of it requires me to convert a single line of json data into an variable in python 3 which I recieve from domoticz (an external open source software) however due to my skill level with json…
0
votes
1 answer

dzVents - Save 'color' object and reuse

I'd like to get the HUE color state, save it, change the color for few minutes and then restore the saved color. The problem is that I can get the color state object but I can't restore the previous object as is: return { on = { devices…
vlauciani
  • 1,010
  • 2
  • 13
  • 27
0
votes
1 answer

What does an Apache Proxy change that could be causing Domoticz API 401 errors?

So I've put my Domoticz (Home automation software on RPi) behind a proxy, so it can be accessed from an external HTTPS address. This works fine for its own web interface, but for the API it provides, something goes wrong. If I enter the following…
Timmiej93
  • 1,328
  • 1
  • 16
  • 35
0
votes
1 answer

using PySerial don't work until port is opened with minicom

I developed a plugin for Domoticz on a RPi3B+. This plugin is in Python. I want to send commands to a Arduino board using a USB serial port. The plugin opens the serial port, sends a command and closes the serial port. It works well except after a…
A.G.
  • 1,279
  • 1
  • 11
  • 28
1
2