Search found 1042 matches

by EddyG
Wednesday 05 June 2024 16:16
Forum: General Discussion
Topic: problem with crash SD card
Replies: 21
Views: 2301

Re: problem with crash SD card

What is the approximate lifespan of a 300 GB SSD hard drive for domoticz? I use 2 pieces of 250Gb SSD in raid on my main Domoticz system for approx. 4-5 years now, without any failure. Those are used very intense with Raspberry pi4 b processor usage of 12-13% with peak writes to the SSD of 13 Gb ...
by EddyG
Wednesday 05 June 2024 16:07
Forum: General Discussion
Topic: problem with crash SD card
Replies: 21
Views: 2301

Re: problem with crash SD card

This works fine but every change done in apps will not of course survive to a reboot, so the change has to be done at the very latest step of development. Isn't there the problem? I use these micro sd-cards https://www.westerndigital.com/products/memory-cards/industrial-microsd?sku=SDSDQED-032G-XI ...
by EddyG
Saturday 12 February 2022 12:46
Forum: LUA
Topic: motion sensor at night
Replies: 3
Views: 1105

Re: motion sensor at night

And if someone wants to solve it in dzVents: local SENSOR = 'PIR2' local LIGHT = 'Vorne' return { on = { devices = { [ SENSOR ] = { 'between sunset and sunrise' } } }, execute = function(dz, item) if item.active then if not dz.devices(LIGHT).active then dz.devices(LIGHT).switchOn().forMin(5) end end ...
by EddyG
Saturday 12 February 2022 10:40
Forum: MQTT Auto Discovery
Topic: Zigbee2MQTT actions in selector switch
Replies: 6
Views: 922

Re: Zigbee2MQTT on another Rasberry PI than Domoticz

Total topic could be deleted.
by EddyG
Saturday 12 February 2022 10:01
Forum: MQTT Auto Discovery
Topic: Zigbee2MQTT actions in selector switch
Replies: 6
Views: 922

Zigbee2MQTT actions in selector switch

Total topic could be deleted.
by EddyG
Thursday 10 February 2022 11:55
Forum: dzVents
Topic: Expand lifespan of SD-card or SSD drive
Replies: 4
Views: 1622

Expand lifespan of SD-card or SSD drive

If you use the 'data' section in dzVents scripts or use executeShellCommand in your scripts with a callback, then data is (frequently) written to the default path /home/pi/domoticz/scripts/dzVents/data. This method save write cycles to the SD-card or SSD drive. You should have rsync installed or ...
by EddyG
Sunday 06 February 2022 14:08
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: DOmoticz crashes and do not restart after adding an equal named virtual device
Replies: 2
Views: 640

Re: DOmoticz crashes and do not restart after adding an equal named virtual device

Yes, it is possible. Download and install https://sqlitebrowser.org/dl/ Stop Domoticz. Backup the file: Domoticz.db Copy a copy of Domoticz.db to your Windows environment. Edit the Domoticz.db table "DeviceStatus" and find your added device and delete that record. Copy the Database back and start ...
by EddyG
Saturday 05 February 2022 16:43
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Mosquitto 2.0.12 errors
Replies: 3
Views: 2034

Re: Mosquitto 2.0.12 errors

The second link I saw, but no solution.
The first link brought me to the setting "max_keepalive" which was to low in my case.
Tnx. Problem solved.
by EddyG
Saturday 05 February 2022 12:29
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Mosquitto 2.0.12 errors
Replies: 3
Views: 2034

Mosquitto 2.0.12 errors

I upgraded mosquitto from 2.0.11 to 2.0.12 With that upgrade came an upgrade of libwebsockets12 to libwebscockets18 After that upgrade I got these errors. Bad socket read/write on client mqttjs_4cba3646: Invalid arguments provided. I reverted back to 2.0.11 and libwebsockets12 and everything works ...
by EddyG
Friday 04 February 2022 10:22
Forum: MQTT Auto Discovery
Topic: Aqara MQTT auto discovery problem with new stable.
Replies: 5
Views: 1642

Re: Aqara MQTT auto discovery problem with new stable.

I have the same 'problem' with all my switches who expose actions. I also have to make selector switches to be activated by all the action devices (and I have a lot of those devices). Like https://www.zigbee2mqtt.io/devices/E1743.html#ikea-e1743 https://www.zigbee2mqtt.io/devices/TS0044.html#tuya ...
by EddyG
Thursday 27 January 2022 17:09
Forum: Utility
Topic: Update sensor via json api with future time?
Replies: 8
Views: 1289

Re: Update sensor via json api with future time?

Now I think about it. Strange question. Normally variable Energy prices are updated twice a year. Now with current energy market some supplier switch over to change there prices every month. Still you got a fixed price during the month. I think there is no real benefit in deciding I you charge your ...
by EddyG
Thursday 27 January 2022 14:12
Forum: Utility
Topic: Update sensor via json api with future time?
Replies: 8
Views: 1289

Re: Update sensor via json api with future time?

If you do the calculation in dzVents then you also could use customEvents in have something set / switched / or whatever in the future for 1 week in the future, as I would conclude from the documentation, although I did not test test that. I have a script running that does such a thing for today or ...
by EddyG
Tuesday 25 January 2022 16:06
Forum: Suggestions
Topic: Battery
Replies: 3
Views: 1059

Re: Battery

There are several scripts on this forum that can regularly check battery levels. Even in the dzVents example directory there is a script. And if you really know Domoticz, you would know that in the device list you can search and sort. And if I am not mistaken there is a warning on the device when ...
by EddyG
Monday 24 January 2022 18:59
Forum: MQTT Auto Discovery
Topic: No "Autodiscovery prefix" setting in hardware tab
Replies: 10
Views: 1536

Re: No "Autodiscovery prefix" setting in hardware tab

In your first post you stated build 14098 This is a picture of build 14098 24.01.2022_18.55.49_REC.png Notice the text at the end it states "Leave empty for Disabled" Your screen print states something different. So what is wrong? And why is in your screen print the type of the hardware missing?
by EddyG
Sunday 23 January 2022 19:37
Forum: MQTT Auto Discovery
Topic: No "Autodiscovery prefix" setting in hardware tab
Replies: 10
Views: 1536

Re: No "Autodiscovery prefix" setting in hardware tab

If you are using the right hardware: MQTT Auto Discovery Client Gateway with LAN interface
In chrome try F5 or Ctrl-F5
by EddyG
Saturday 22 January 2022 19:25
Forum: MQTT Auto Discovery
Topic: Level names of selector switch are reset.
Replies: 19
Views: 3261

Re: Level names of selector switch are reset.

Excellent service, fixed. :D
by EddyG
Saturday 22 January 2022 10:02
Forum: MQTT Auto Discovery
Topic: Issues with Zigbee2MQTT setup
Replies: 9
Views: 1691

Re: Issues with Zigbee2MQTT setup

I used this image: https://ubuntu.com/download/raspberry-p ... rm64+raspi
It is a Raspberry Pi 20.04.3 LTS image (5.4.0-1047-raspi)
by EddyG
Saturday 22 January 2022 9:55
Forum: MQTT Auto Discovery
Topic: Level names of selector switch are reset.
Replies: 19
Views: 3261

Re: Level names of selector switch are reset.

Tnx, I wait for that.
It's not my intention to cross post.
Just thought that github was the place to place 'formal' requests.
by EddyG
Friday 21 January 2022 19:34
Forum: MQTT Auto Discovery
Topic: Issues with Zigbee2MQTT setup
Replies: 9
Views: 1691

Re: Issues with Zigbee2MQTT setup

On a test system Raspberry Pi 4B I have running: Linux raspberryubuntu 5.4.0-1047-raspi #52-Ubuntu SMP PREEMPT Wed Nov 24 08:16:38 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux When I insert the CC2531 USB stick I get: [21612.614194] usb 1-1.1: new full-speed USB device number 6 using xhci_hcd [21612 ...
by EddyG
Thursday 20 January 2022 19:56
Forum: MQTT Auto Discovery
Topic: Level names of selector switch are reset.
Replies: 19
Views: 3261

Re: Level names of selector switch are reset.

Tnx for your answers. Dangerous assumption and is up to the Source of the MQTT message, but we assume at this moment that it is a possibility a Gateway doesn't make an update to the list... which I think is fair and were the control over this should lie. What if the assumption is right? You have ...