Search found 27 matches

by wim57
Friday 28 February 2025 15:06
Forum: Speech & Voice Systems
Topic: Rhasspy plugin
Replies: 17
Views: 1746

Re: Rhasspy plugin

May be a good idea. Just one other remark: The plugin translates the state of a Domoticz device from the Domoticz language to the Rhasspy language. But I think device states are always reported in english and Domoticz uses the language setting only for the frontend. In my case the Domoticz language ...
by wim57
Friday 28 February 2025 10:53
Forum: Speech & Voice Systems
Topic: Rhasspy plugin
Replies: 17
Views: 1746

Re: Rhasspy plugin

Good point Walter, I was already thinking if this has to be a plugin since it uses the API to access Domoticz.
by wim57
Friday 28 February 2025 9:57
Forum: Speech & Voice Systems
Topic: Rhasspy plugin
Replies: 17
Views: 1746

Re: Rhasspy plugin

It wasn't a difficult fix.
I am going to experiment a little further, all my temperature sensors are temp/hum. I'll see if I can add them to the validation.

I did not try speech recognition yet for lack of a suitable microphone.
by wim57
Thursday 27 February 2025 23:10
Forum: Speech & Voice Systems
Topic: Rhasspy plugin
Replies: 17
Views: 1746

Re: Rhasspy plugin

I've changed if domoticz_result.ok and (domoticz_usrvar := searchJSON(f"result[?Name=='{domoticz_device}'].Value", domoticz_result.json())): domoticz_device = domoticz_usrvar into if domoticz_result.ok: domoticz_usrvar = searchJSON(f"result[?Name=='{domoticz_device}'].Value", domoticz_result.json ...
by wim57
Thursday 27 February 2025 16:34
Forum: Speech & Voice Systems
Topic: Rhasspy plugin
Replies: 17
Views: 1746

Re: Rhasspy plugin

Ok, I tried again but I do not think it is working as you described. To test I added some debug statements in the plugin and also commented the 2 lines that lookup the uservar. def domoGetIDX(domoticz_device): domoticz_idx = 0 # first try to translate the supplied device name to the value of a user ...
by wim57
Thursday 27 February 2025 12:15
Forum: Speech & Voice Systems
Topic: Rhasspy plugin
Replies: 17
Views: 1746

Re: Rhasspy plugin

That is what I first expected but the plugin did not find my device until I added a uservariable with the device-name as name and value.
I will look again if something else was the problem.
by wim57
Wednesday 26 February 2025 18:02
Forum: Speech & Voice Systems
Topic: Rhasspy plugin
Replies: 17
Views: 1746

Re: Rhasspy plugin

I tried to use Rhasspy and your plugin but setting all up is not quite easy. But I think I have it almost running. One thing I do not understand is the use of a user variable for every device. Until now I did not use user variables at all and having to define one for each (new) device seems a lot of ...
by wim57
Saturday 08 February 2025 22:43
Forum: LUA
Topic: Simple Script not working
Replies: 4
Views: 1030

Re: Simple Script not working

What is the trigger for your script?
You can use print statements for debugging, they show in the log.
by wim57
Friday 07 February 2025 9:59
Forum: Bugs and Problems
Topic: Domoticz not seeing zigbee devices
Replies: 2
Views: 220

Re: Domoticz not seeing zigbee devices

Did you enable Home Assistant Integration in Zigbee2MQTT?
This generates the discovery topics that Domoticz auto discovery is using. Also make sure the topic name in Z2M is the same as in Domoticz AD hardware.
by wim57
Thursday 30 January 2025 16:27
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Problems with installing Sonoff ZigBee 3.0 USB-Dongle Plus-E
Replies: 17
Views: 3058

Re: Problems with installing Sonoff ZigBee 3.0 USB-Dongle Plus-E

You probably have set port 8080 for Domoticz web-interface as well as for Z2M frontend. So you have to change the Z2M frontend port in configuration.yaml.
by wim57
Sunday 08 December 2024 11:44
Forum: Others
Topic: MQTT on domoticz/in and domoticz/out
Replies: 2
Views: 446

Re: MQTT on domoticz/in and domoticz/out

I think you have to set 'prevent loop' to false on the Domoticz MQTT Client Gateway in Hardware settings.
But beware that this can result in the message looping with other devices acting on domoticz/in and out.
by wim57
Tuesday 26 November 2024 16:51
Forum: Bugs and Problems
Topic: MQTT, Not domoticz not sending
Replies: 8
Views: 551

Re: MQTT, Not domoticz not sending

most of the esp8266 are working with mqtt. the strange thing is that it only works one way Did you use a device Domoticz MQTT Helper? That type of device can act on the MQTT messages on /domoticz/out. I think this is the most easy way to implement this. As an alternative you can use Generic - MQTT ...
by wim57
Tuesday 23 April 2024 10:28
Forum: General Discussion
Topic: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Replies: 241
Views: 31621

Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)

I did just now but it was still the same garbled screen.
Since I have a previous version with driver ILI9341 that is working I will stick to that.
by wim57
Thursday 18 April 2024 21:22
Forum: General Discussion
Topic: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Replies: 241
Views: 31621

Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)

Ah, I thought I needed to change it TO zero. If I change it to 1, 2 or 3 the screen is still not good. But when I change the driver from ILI9342 to ILI9341 (which is in my other version) the screen is readable but rotated (heigth and with swapped?). Again, I can put 1, 2 or 3 in screen_driver.cpp ...
by wim57
Thursday 18 April 2024 10:14
Forum: General Discussion
Topic: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Replies: 241
Views: 31621

Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)

I downloaded the latest test branch, just to make sure no changes are missing.
Line 526 in sreen_driver.cpp was already as you described, but it did not change anything.


The version of the test branch that I used before works on both units, only the colors are different.
20240418.jpg
20240418.jpg (79.14 KiB) Viewed 2873 times
by wim57
Monday 15 April 2024 11:40
Forum: General Discussion
Topic: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Replies: 241
Views: 31621

Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)

Well, I don't understand which json you mean. I can only find the board definition in esp32-2432S028R.json which mentions DILI9342_DRIVER=1. Changing DTFT_ROTATION in this definition does not change anything (on both boards) so maybe this is not the right place. For now I will stick to the previous ...
by wim57
Sunday 14 April 2024 10:59
Forum: General Discussion
Topic: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Replies: 241
Views: 31621

Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)

I tried with another unit and everything was fine, so maybe I made some mistake the first time. Sadly, I have to correct my previous post. I tried the first unit once more and the display looked like below. Both are ESP32-2432S028 but one is USB-C and the other is micro-USB, so the hardware/display ...
by wim57
Saturday 13 April 2024 9:53
Forum: General Discussion
Topic: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Replies: 241
Views: 31621

Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)

I tried with another unit and everything was fine, so maybe I made some mistake the first time.
by wim57
Friday 12 April 2024 11:08
Forum: General Discussion
Topic: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)
Replies: 241
Views: 31621

Re: New project, a small wall display to control Domoticz using CYD (Cheap ESP32 touchscreen)

The latest test branch does not work on my esp32-2432S028R. Even after erasing flash it shows a malformed display.