Search found 49 matches
- Sunday 15 March 2020 12:04
- Forum: Python
- Topic: Another M-BUS smartmeter to Domoticz integration
- Replies: 0
- Views: 663
Another M-BUS smartmeter to Domoticz integration
Available on https://github.com/hansrune/HANmeter . This is based on https://github.com/skagmo/meter_reading, adapted to Domoticz and added support also for Kamstrup in addition to Aidon meters Tested with Aidon (single phaase) and Kamstrup (3-phase) meters You can run this as a systemctl service to ...
- Thursday 06 July 2017 23:53
- Forum: Suggestions
- Topic: Read only Raspberry Pi OS to prevent corruption
- Replies: 52
- Views: 16337
Re: Read only Raspberry Pi OS to prevent corruption
Have used overlayfs as described on https://www.domoticz.com/wiki/Setting_u ... spberry_Pi to protect the setup. Recommend to add a small UPS
- Saturday 28 January 2017 9:26
- Forum: Bash / PowerShell / Batch etc.
- Topic: Script to restart Domoticz if it crashes
- Replies: 199
- Views: 125027
Re: Script to restart Domoticz if it crashes
I use another approach, i.e a healthcheck script that runs from cron to check on port listeners, network connectivity and more. Reboots on some conditions, restarts Domoticz if no listener for that network port. I chose to not restart services if someone is logged in to a shell, assuming that I me ...
- Wednesday 02 November 2016 18:03
- Forum: Other questions and discussions
- Topic: 3G dongle on Rpi
- Replies: 3
- Views: 1233
Re: 3G dongle on Rpi
MyDomoticz works fine over NAT-ed / firewalled 3G router. I also use OpenVPN and ssh tunnels to a stationary endpoint at home to be able to communicate to the remote Domoticz over 3G. Keep-alive traffic for these connections amounts to 15-25MB/day . BTW: I used to have a similar dLink, but retired ...
- Monday 22 August 2016 22:32
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Small issue with overlayfs
- Replies: 6
- Views: 1464
Small issue with overlayfs
Long time sine, but I think i fixed that. Please try downloading the service script again. Alternatively, try:
sudo bash -x /etc/init.d/saveoverlays sync
.... to debug more detailed.
sudo bash -x /etc/init.d/saveoverlays sync
.... to debug more detailed.
- Thursday 14 July 2016 19:02
- Forum: Other questions and discussions
- Topic: syslog question
- Replies: 6
- Views: 1566
Re: syslog question
+1 on ok. Must be combined with -daemon to take effect.
- Saturday 04 June 2016 14:26
- Forum: Other questions and discussions
- Topic: Raspberry Pi2 B+ - After SD Card Corruption
- Replies: 17
- Views: 5990
Raspberry Pi2 B+ - After SD Card Corruption
For other overlays (not system related), repeat the steps for /home
Also, instead of using insserv directly, it is likely better to do
<code>sudo systemctl enable saveoverlays.service</code>
Also, instead of using insserv directly, it is likely better to do
<code>sudo systemctl enable saveoverlays.service</code>
- Friday 03 June 2016 8:48
- Forum: Other questions and discussions
- Topic: Raspberry Pi2 B+ - After SD Card Corruption
- Replies: 17
- Views: 5990
Re: Raspberry Pi2 B+ - After SD Card Corruption
I have updated the wiki page and saveoverlays init script. If you download the saveoverlays script or change it per the below, you should be able to do sudo insserv saveoverlays I just did a one-off test on a new Domoticz SD card image, and that worked for me Changes in saveoverlays: ### BEGIN INIT ...
- Friday 13 May 2016 19:47
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: OverlayFS use
- Replies: 3
- Views: 914
Re: OverlayFS use
Sorry to hear that. Can you do as suggested in the first paragraph : mount the SD card and revert the changes ( edit /etc/fstab back to original, move the renamed directories back to where they came from) If not, where in the boot process do you end up in problems ?
- Friday 06 May 2016 12:57
- Forum: Other questions and discussions
- Topic: Disk I/O errors in log - failing SD card on Pi?
- Replies: 12
- Views: 4782
Re: Disk I/O errors in log - failing SD card on Pi?
Another approach is described on https://www.domoticz.com/wiki/Setting_u ... spberry_Pi. I use that to contain the Domoticz database and home directories plus /var , which includes the logs
Sent from my iPad using Tapatalk
Sent from my iPad using Tapatalk
- Sunday 17 April 2016 23:11
- Forum: Other questions and discussions
- Topic: Raspberry Pi2 B+ - After SD Card Corruption
- Replies: 17
- Views: 5990
Re: Raspberry Pi2 B+ - After SD Card Corruption
The server has been replaced, but my virtual web server was not maintained
The links are now updated. If you still have problems, please PM me
The links are now updated. If you still have problems, please PM me
- Wednesday 09 March 2016 21:14
- Forum: Suggestions
- Topic: Domoticz logging to (r)syslog with support for syslog facilities
- Replies: 1
- Views: 1057
Domoticz logging to (r)syslog with support for syslog facilities
If you are interested in logging the Domoticz log to syslog in slightly more flexible ways than before please have a look at http://www.domoticz.com/wiki/Set_up_Domoticz_to_syslog As of V3.4933, specifying a syslog facility other than LOG_USER is implemented . LOG_USER is still the default in case ...
- Thursday 24 December 2015 15:36
- Forum: Design, usability and languages
- Topic: #2215 Custom Icons uploader Implemented
- Replies: 110
- Views: 73361
Re: #2215 Custom Icons uploader Implemented
What is the easiest way to replicate all icon collections from one Domoticz instance to another one? I'd like to keep them the same.
Sent from my iPad using Tapatalk
Sent from my iPad using Tapatalk
- Thursday 24 December 2015 15:28
- Forum: Show your projects
- Topic: Verisure alarm status into Domoticz
- Replies: 17
- Views: 14086
Re: Verisure alarm status into Domoticz
Sorry. I do not. Tried sometime back to ask for verisure APIs, but that was negative.
Sent from my iPad using Tapatalk
Sent from my iPad using Tapatalk
- Friday 11 December 2015 21:07
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Which server hardware for Domoticz
- Replies: 7
- Views: 3670
Re: Which server hardware for Domoticz
A good powersupply is key for the Pi. I have also eliminated SD card writes as far as possible by using overlayfs for /var and the Domoticz DB. This also accelerates IO as updates are in RAM overlays. Described on https://www.domoticz.com/wiki/Setting_up_overlayFS_on_Raspberry_Pi Sent from my iPad ...
- Thursday 10 December 2015 19:48
- Forum: Temperature and Weather
- Topic: History lost after battery swap, no reconnect
- Replies: 3
- Views: 1929
Re: History lost after battery swap, no reconnect
Yes. Add the new device with a new name. Then click Edit on the original device, then click Transfer, then select the new device. Finally, clean up by deleting the old device, then rename the new one.
Blockly code must also be updated with the new device
Sent from my iPad using Tapatalk
Blockly code must also be updated with the new device
Sent from my iPad using Tapatalk
- Sunday 06 December 2015 17:59
- Forum: Show your projects
- Topic: Verisure alarm status into Domoticz
- Replies: 17
- Views: 14086
Re: Verisure alarm status into Domoticz
Sorry for not responding before.... My setup using wireless routers controlled by Verisure smartplugs is a based on a LUA script and a helper ping script. You will have to adjust the helper script or supply the following as command line arguments in the LUA script: Argument 1 or TESTIP - is the ...
- Sunday 29 November 2015 21:17
- Forum: Design, usability and languages
- Topic: NEW frontpage.html - request comments
- Replies: 1301
- Views: 406870
Re: NEW frontpage.html - request comments
Why use index numbers for user variables where the variable name will do? Sensors need to be replaced from time to time, and some even need to be replaced with new Domoticz devices after battery replacement. The following small change in frontpage.js (last line adds $.PageArray[ii][0] === item.Name ...
- Sunday 29 November 2015 21:02
- Forum: Design, usability and languages
- Topic: NEW frontpage.html - request comments
- Replies: 1301
- Views: 406870
Re: NEW frontpage.html - request comments
So much good work in here. Let me add my 2 cents, in case you find this useful. Here is a small trick in case you access your frontpage using different URLs. I have an internal URL that I use at home with tablets , and with no password protection to access the frontpage over plain http. I also use ...
- Saturday 28 November 2015 21:18
- Forum: Show your projects
- Topic: Verisure alarm status into Domoticz
- Replies: 17
- Views: 14086
Verisure alarm status into Domoticz
I do similar. I have two verisure smartplugs. One on my primary wifi router, one on my guest wifi router. The guest goes off on verisure 'arm home' . They are both off on 'arm away' . I want them off when we are not home, and a 3rd cabled router takes care of the Internet link. I use a LUA script to ...