Search found 71 matches
- Wednesday 26 July 2023 19:56
- Forum: Z-Wave
- Topic: Z-Wave devices from deleted Nodes keep re-appearing (MQTT)
- Replies: 1
- Views: 450
Z-Wave devices from deleted Nodes keep re-appearing (MQTT)
Some weeks ago I changed from build-in Zwave to Zwave via MQTT. I had to delete several nodes and re-create them. It finally worked. However, some deleted Nodes have still Devices in the Device-list. When I delete these Devices, they re-appear after a restart of Domoticz or later at some other time ...
- Thursday 09 November 2017 10:57
- Forum: LUA
- Topic: Modify Domoticz.db from LUA
- Replies: 9
- Views: 4663
Re: Modify Domoticz.db from LUA
@ niki_lauda: What do you want to know? Domoticz is running on Raspberry Pi. You have to install sqlite to be able to access the database. When you want to give sql instructions from LUA, you also have to install 'luasql'. sudo apt-get install sqlite3 sudo apt-get install lua-sql-sqlite3 sudo reboot ...
- Wednesday 08 November 2017 13:19
- Forum: LUA
- Topic: Modify Domoticz.db from LUA
- Replies: 9
- Views: 4663
Re: Modify Domoticz.db from LUA
It appears the computer had to be restarted.
After restart the problem disappeared.
After restart the problem disappeared.
- Tuesday 07 November 2017 20:40
- Forum: LUA
- Topic: Modify Domoticz.db from LUA
- Replies: 9
- Views: 4663
Modify Domoticz.db from LUA
EDIT: It appears the computer had to be restarted. After restart the problem disappeared. I want to modify the Domoticz database from a LUA script (yes, I know all the risks). I installed a library (lua-sql-sqlite3) to access sqlite3 directly from LUA (sudo apt-get install lua-sql-sqlite3). When I ...
- Wednesday 01 November 2017 11:27
- Forum: Suggestions
- Topic: Pick up an acoustic fire-alarm and send notification
- Replies: 1
- Views: 574
Re: Pick up an acoustic fire-alarm and send notification
There are wall-switches that react on sound to switch on lights. You could place such a device near the fire alarm. Tune the device that it only switches on when the sound is very loud. Instead of a light you connect a z-wave device that sends an On signal when powered on. In Domoticz you will have ...
- Monday 23 October 2017 11:19
- Forum: LUA
- Topic: BUG - LUA runs before the "last update" which seems wrong
- Replies: 9
- Views: 1753
Re: BUG - LUA runs before the "last update" which seems wrong
I found the same issue as svenker. However, the explanation of dannyblue also makes some sense. Although it would have been much better to call it PreviousUpdate. If you have a Domoticz master/slave installation, then you will see the same device twice. In LUA this exactly the same device will show ...
- Thursday 10 August 2017 19:23
- Forum: Suggestions
- Topic: New switchtype "off-on" in Domoticz
- Replies: 2
- Views: 1603
Re: New switchtype "off-on" in Domoticz
As you surely have read the documentation says that the AWMT-230 is not for led lights.
I use an alternative for monitoring if power is On:
https://www.domoticz.com/forum/viewtopi ... 38&t=18756
It does the trick of the inverted state.
I use an alternative for monitoring if power is On:
https://www.domoticz.com/forum/viewtopi ... 38&t=18756
It does the trick of the inverted state.
- Wednesday 09 August 2017 10:30
- Forum: ESP8266
- Topic: NodeMCU and ESPEasy
- Replies: 19
- Views: 11204
Re: NodeMCU and ESPEasy
When you have flashed the ESP8266, connect it to a external power-suply (not a computer) for the next steps.
I found that this makes the process with the setup work.
I found that this makes the process with the setup work.
- Tuesday 08 August 2017 19:39
- Forum: Show your projects
- Topic: Detect Mains Power and keep Domoticz synchronized
- Replies: 11
- Views: 4794
Re: Detect Mains Power and keep Domoticz synchronized
Use a KAKU keyfob I tried to avoid solutions that are based on sending more 433 Mhz Signals. This would polute the 433 Mhz-ether even more and so disturbing other 433 Mhz signals. with quite a big storage capacitor I had a prototype where a capacitor (2 x 4700 micro Fahrad) would keep the Wemos D1 ...
- Monday 07 August 2017 13:18
- Forum: ESP8266
- Topic: Simple emitter with ESP8266?
- Replies: 11
- Views: 3341
Re: Simple emitter with ESP8266?
You ask after power-supply. I have several ESP8266 devices, most of them Wemos D1. I power them with a Hi-Link PCB Voeding (5 Euro). See: https://www.tinytronics.nl/shop/nl/voedingen/5v/hi-link-pcb-voeding-5vdc-0.6a-hlk-pm01 I use these power supplies (or their 1 Amp version) also for Arduino ...
- Monday 07 August 2017 11:29
- Forum: Show your projects
- Topic: Detect Mains Power and keep Domoticz synchronized
- Replies: 11
- Views: 4794
Detect Mains Power - Alternatives
If you want a quick(er) response that the device is On or Off, you should leave the Wemos D1 powered on all the time and use a sensor to see if the Device were are monitoring is On or Off. As sensor a light-sensitive resistor will do. You can build your own Opto-coupler by using a light that is put ...
- Monday 07 August 2017 11:28
- Forum: Show your projects
- Topic: Detect Mains Power and keep Domoticz synchronized
- Replies: 11
- Views: 4794
Detect Mains Power - Detecting the 'Off State
When the power outlet is powered down, the Wemos D1 will also power down and stop running. This is something we can detect with software. When the Wemos D1 is off, the Device that is monitored is also off. That's the idea. Create a LUA Event in Domoticz. Make it a Time-driven event. This will check ...
- Monday 07 August 2017 11:28
- Forum: Show your projects
- Topic: Detect Mains Power and keep Domoticz synchronized
- Replies: 11
- Views: 4794
Detect Mains Power - Detect the 'On' State
Detecting the 'On' state is easy as can be. You plug your Wemos D1 in the same power outlet as the device you want to monitor. When this power outlet is switched on, the Wemos D1 will also power on and boot. It will then send the boot-state of the dummy-device to your controller. Since the dummy ...
- Monday 07 August 2017 11:27
- Forum: Show your projects
- Topic: Detect Mains Power and keep Domoticz synchronized
- Replies: 11
- Views: 4794
Detect Mains Power - Build the hardware
Moderator - Please delete this reply, it was double.
- Monday 07 August 2017 11:27
- Forum: Show your projects
- Topic: Detect Mains Power and keep Domoticz synchronized
- Replies: 11
- Views: 4794
Detect Mains Power - Build the hardware
Build the hardware For the detection device I used: - 'Wemos D1 Mini V2-ESP8266-12F - CH340 - 'Hi-Link PCB power-supply - 5VDC, 0.6A - HLK-PM01' - Housing - Line cord You solder the line cord to the power-supply and the plus and minus to the Wemos D1. WemosD1AndPowerSupply.jpg Put it in the housing ...
- Monday 07 August 2017 11:27
- Forum: Show your projects
- Topic: Detect Mains Power and keep Domoticz synchronized
- Replies: 11
- Views: 4794
Detect Mains Power - Configure the Wemos D1
When the connection to ESPEasy on you Wemos D1 was succesful, you will see a welcome screen. Click on 'Proceed to Main Config'. Then configure several menu-tabs: ESPEasyConfig.png Menu --> Config - Choose a unique Unit Name for your device and a Unit Number. - If you have multiple ESP8266 devices in ...
- Monday 07 August 2017 11:26
- Forum: Show your projects
- Topic: Detect Mains Power and keep Domoticz synchronized
- Replies: 11
- Views: 4794
Detect Mains Power - Preparing the Wemos D1
As 'operating system' I choose 'ESPEasy Version 2.10': https://www.letscontrolit.com/wiki/index.php/Main_Page Install the setup-program on your computer. Then you start the tool FlashESP8266.exe and choose the version. I used 'ESPEasy_v2.0.0-dev10_normal_4096'. Of course, when you read this, there ...
- Monday 07 August 2017 11:25
- Forum: Show your projects
- Topic: Detect Mains Power and keep Domoticz synchronized
- Replies: 11
- Views: 4794
Detect Mains Power and keep Domoticz synchronized
Have you ever wanted to detect if your Domoticz driven switch, light or power outlet was powered On or Off? Just to be sure? Or to know it at all? Of course some equipment provides a return signal to indicate if a device is on, but 433 Mhz gear, like KaKu (Klik Aan Klik Uit) / CoCo (Click On Click ...
- Wednesday 02 August 2017 15:31
- Forum: Show your projects
- Topic: Domoticz on 30 Euro hardware - All in (for KaKu/Coco)
- Replies: 12
- Views: 8782
Domoticz on 30 Euro hardware - Final Thoughts
I started this project for my personal needs. I was surprised about the outcome. It works and - actually - quite good. The range of the receiver and transmitter are at least as good as my RfxTrx433E devices. So, I thought to share it with you. However, this is not a project that I will develop ...
- Wednesday 02 August 2017 15:15
- Forum: Show your projects
- Topic: Domoticz on 30 Euro hardware - All in (for KaKu/Coco)
- Replies: 12
- Views: 8782
Domoticz on 30 Euro hardware - Let Python connect the Arduino and Domoticz
The 'Main' program to connect Domoticz and Arduino on the Raspberry Pi is a Python program. I called it ArdToDom. This is Python program ArdToDom: #!/usr/bin/python3.4 # /home/pi/python_programs/ArdToDom.py # ArdToDom = Arduino To Domoticz # open: lxterminal -e "/home/pi/python_programs/ArdToDom.py ...