Search found 28 matches
- Sunday 01 May 2022 10:39
- Forum: Other questions and discussions
- Topic: Manually change data in database
- Replies: 4
- Views: 3943
Re: Manually change data in database
I have made changes before to a P1 device's data in the database with a sqlite command or sqlite express and there is no issue doing that as long as you know what you are doing. just stop domoticz, make an backup and update the data. I figured out that the fields contain by looking at the ...
- Sunday 01 May 2022 0:53
- Forum: Other questions and discussions
- Topic: Manually change data in database
- Replies: 4
- Views: 3943
Manually change data in database
I have an electric car which I can charge at home. To measure the used kWh, I have a kWh meter and an esp8266 wifi board which counts pulses from the kWh meter. The pulses are then sent to Domoticz, which is running on a raspberry pi. This works great! But while using this setup, I have made several ...
- Tuesday 25 January 2022 11:46
- Forum: ESP8266
- Topic: esp8266 does not update counter
- Replies: 15
- Views: 3029
Re: esp8266 does not update counter
You can use the P1 meter for this but then you have your ESP do the counting as this meter uses a total counter (like the counter on the kWh Meters). So you have to find a way to have the ESP remember the total count. One way is to first get the current total count from Domoticz by http API call ...
- Sunday 23 January 2022 23:56
- Forum: ESP8266
- Topic: esp8266 does not update counter
- Replies: 15
- Views: 3029
Re: esp8266 does not update counter
You can use the P1 meter for this but then you have your ESP do the counting as this meter uses a total counter (like the counter on the kWh Meters). So you have to find a way to have the ESP remember the total count. One way is to first get the current total count from Domoticz by http API call ...
- Tuesday 11 January 2022 18:02
- Forum: ESP8266
- Topic: esp8266 does not update counter
- Replies: 15
- Views: 3029
Re: esp8266 does not update counter
Well, even I don't have the kWh meter module yet, the test setup does work and counts every pulse I (manually) generate. Right now I have used the Virtual Sensor "Counter Incremental". Is it possible to make the high and low rates visible (lower rate during nighttime and in the weekends, high rate ...
- Sunday 09 January 2022 12:53
- Forum: ESP8266
- Topic: esp8266 does not update counter
- Replies: 15
- Views: 3029
Re: esp8266 does not update counter
Something similar like this maybe? https://www.reddit.com/r/arduino/comments/6y6jzs/esp8266_web_requests_from_external_interrupt_not/ ah I see you found out the same :) Thank you! That is indeed something similar. For testing I am using a push button, because I still need to buy the kWh meter ...
- Sunday 09 January 2022 11:56
- Forum: ESP8266
- Topic: esp8266 does not update counter
- Replies: 15
- Views: 3029
Re: esp8266 does not update counter
Okay, I have discovered that it might not be a good idea to do the http reqest within the interrupt handler. I now do only count in this handler and check in the loop if there has been interrupts counted and than I will send the command to Domoticz. That seems to work now, I only discover it ...
- Sunday 09 January 2022 11:38
- Forum: ESP8266
- Topic: esp8266 does not update counter
- Replies: 15
- Views: 3029
Re: esp8266 does not update counter
Not totally sure I understand the reply about the other line, but you didn't answer my question about using Userid&Password to access domoticz. ;) Sorry, I was not reacting on your post and my reacting wass also not very clear, as I am reading it back! Sorry! :-) What I ment was, that I took ...
- Sunday 09 January 2022 11:08
- Forum: ESP8266
- Topic: esp8266 does not update counter
- Replies: 15
- Views: 3029
Re: esp8266 does not update counter
Well, I have added the one line to my other code where I send the temperature to Domoticz and there it works, so I will check the differences!
- Sunday 09 January 2022 10:53
- Forum: ESP8266
- Topic: esp8266 does not update counter
- Replies: 15
- Views: 3029
- Sunday 09 January 2022 10:26
- Forum: ESP8266
- Topic: esp8266 does not update counter
- Replies: 15
- Views: 3029
Re: esp8266 does not update counter
Just a quick thought that might solve the issue remove the semicolon at the end of the svalue sendDomoticz("/json.htm?type=command¶m=udevice&idx=31&nvalue=0&svalue=1"); if that does not work, try the command in your browser first (adding http://yourip:port in front of it) Hi, thank you for your ...
- Sunday 09 January 2022 3:07
- Forum: ESP8266
- Topic: esp8266 does not update counter
- Replies: 15
- Views: 3029
esp8266 does not update counter
I would like to count the pulses of a kWh meter. I have made a test with a button (instead of the kWh meter) to test the code first. I have made a virtual device and added a coutner to Domoticz. If I enter this line in my webbrowser: http://192.168.2.127:8080/json.htm?type=command¶m=udevice&idx ...
- Sunday 25 October 2020 11:08
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Domoticz on Synology and smart energy meter
- Replies: 8
- Views: 988
Re: Domoticz on Synology and smart energy meter
I did find the solution and added a task with next command: cp -avr /volume1/@appstore/domoticz/var/backups/ /volume1/Bestanden/Komputer_en_mobiel/Domoticz/Backup Now every day a backup will be made from the complete Domoticz Backup folder (check the automated backup option in Domoticz settings) I ...
- Saturday 24 October 2020 21:27
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Domoticz on Synology and smart energy meter
- Replies: 8
- Views: 988
Re: Domoticz on Synology and smart energy meter
Install the synology package from jadahl and plug in the usb p1 cable in the synology. How to set up the p1 meter in domoticz, you can read all about it at my blog! https://www.twoenter.nl/blog/domotica/slimme-meter-uitlezen-met-domoticz/ I did manage to get it working, thanks to your blog! Thank ...
- Friday 23 October 2020 22:26
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Domoticz on Synology and smart energy meter
- Replies: 8
- Views: 988
- Friday 23 October 2020 22:06
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Domoticz on Synology and smart energy meter
- Replies: 8
- Views: 988
Re: Domoticz on Synology and smart energy meter
I have read that it is possible to install Domoticz on a Synology nas. But is it somehow possible than to read the values of the energy meter? Yes that's possible if your Synology NAS does also have a free USB port. Thank you for your quick reply! That would be great! I have two USB ports, one is ...
- Friday 23 October 2020 21:30
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Domoticz on Synology and smart energy meter
- Replies: 8
- Views: 988
Domoticz on Synology and smart energy meter
I run Domoticz on a rapsberry pi, to monitor my energy and gas usage. Unfortunately, the raspberry is sensitive for interuptions in power and so on, so I had to re-install it several times and am missing several measurements from those days. I have read that it is possible to install Domoticz on a ...
- Wednesday 25 January 2017 9:22
- Forum: Utility
- Topic: P1 can't open serial port
- Replies: 4
- Views: 3519
Re: P1 can't open serial port
I have added some line in a srtupfile and now it works perfectly!
Add these lines:
Code: Select all
sudo nano /etc/rc.local
Code: Select all
sudo systemctl stop [email protected]
sudo systemctl disable [email protected]
- Sunday 15 January 2017 12:24
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: P1 visible in hardware, but no devices....
- Replies: 6
- Views: 3209
Re: P1 visible in hardware, but no devices....
SOLVED!
Solved by adding those two lines to:
/etc/rc.local
Domoticz survives a reboot now!
Tnx for the help.
Solved by adding those two lines to:
/etc/rc.local
Domoticz survives a reboot now!
Tnx for the help.
- Sunday 15 January 2017 11:52
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: P1 visible in hardware, but no devices....
- Replies: 6
- Views: 3209
Re: P1 visible in hardware, but no devices....
Thank you for your reply. I am almost there. In the thread you mentioned, these lines helped: sudo systemctl stop [email protected] sudo systemctl disable [email protected] But after reboot I need to run them again. But I also have to change baudrate to the wrong number and ...