Search found 18 matches

by Jieffe
Sunday 12 November 2023 12:00
Forum: Other questions and discussions
Topic: json Text sensor
Replies: 12
Views: 1668

Re: json Text sensor

Try enclosing the text you want to show in Domoticz with single quotes, i.e :

Code: Select all

url = "/json.htm?type=command&param=udevice&idx=83&nvalue=0&svalue='Voorbeeldtekst\nRegel2\nRegel3'";
by Jieffe
Sunday 12 November 2023 10:39
Forum: Other questions and discussions
Topic: json Text sensor
Replies: 12
Views: 1668

Re: json Text sensor

I would construct the whole URL as a String and then convert it as a const char* Something like that : int IDX_variable = 83; int NVALUE_variable = 0; float TEMP_variable = 20.50; float HUMD_variable = 60; String tmp = "/json.htm?type=command&param=udevice&idx="; tmp += IDX_variable; tmp += "&nvalue ...
by Jieffe
Saturday 11 November 2023 14:56
Forum: Other questions and discussions
Topic: json Text sensor
Replies: 12
Views: 1668

Re: json Text sensor

Have you tried converting your "String" to a "const char*" ?

Code: Select all

String str = "My_String";
const char* c = str.c_str();
by Jieffe
Sunday 01 January 2023 22:15
Forum: Bash / PowerShell / Batch etc.
Topic: Converting output to Domoticz smart meter
Replies: 16
Views: 3012

Re: Converting output to Domoticz smart meter

I also have an Iskra meter for my solar panels. There is an ESP8266 program to read the IR interface of an Iskra ME162 here : https://github.com/wdoekes/pe32me162ir_pub.

You need to adapt the code to communicate with Domoticz or use Node-Red to translate the MQTT output but it is feasible.
by Jieffe
Monday 21 February 2022 22:39
Forum: Utility
Topic: SlimmeLezer+ P1 meter with LAN interface
Replies: 23
Views: 6644

Re: SlimmeLezer+ P1 meter with LAN interface

Great ! Always nice when it finally works after days of frustration !
by Jieffe
Monday 21 February 2022 13:23
Forum: Utility
Topic: SlimmeLezer+ P1 meter with LAN interface
Replies: 23
Views: 6644

Re: SlimmeLezer+ P1 meter with LAN interface

Still working on it :) Even tried cobbling together a reader according to schematics found on the Web to help you but without luck ... I noticed what looks like a contradiction on Zuidwijk's site. In the ESP-Home configuration FAQ, the RX port is D7 (thus should be using Software Serial) as you ...
by Jieffe
Sunday 20 February 2022 23:44
Forum: Utility
Topic: SlimmeLezer+ P1 meter with LAN interface
Replies: 23
Views: 6644

Re: SlimmeLezer+ P1 meter with LAN interface

waltervl wrote: Sunday 20 February 2022 21:09 Why do you not contact Marcel Zuidwijk and ask him how to connect his board to Domoticz? You probably have to flash it back to his original firmware.
At this point, that's my conclusion too ...
by Jieffe
Sunday 20 February 2022 14:39
Forum: Utility
Topic: SlimmeLezer+ P1 meter with LAN interface
Replies: 23
Views: 6644

Re: SlimmeLezer+ P1 meter with LAN interface

I assumed your hardware used the RX pin to communicate with the meter, like mine does. As far as I can see, the "P1 Wifi Gateway" plugin expects the information coming from the RX pin and is not able to use another pin. Perhaps it would work with the other communication plugin, "Serial Server" : At ...
by Jieffe
Tuesday 15 February 2022 23:02
Forum: Utility
Topic: SlimmeLezer+ P1 meter with LAN interface
Replies: 23
Views: 6644

Re: SlimmeLezer+ P1 meter with LAN interface

I tried but no result :( any other suggestions? Do you get anything if you telnet on port 6053 ? In last resort, I'd enable in Domoticz "Allow for 5 minutes", then disable the P1 Smartmeter plugin and finally re-enable it within the 5 minutes ... Other than that, I'd try flashing with ESP-Link or ...
by Jieffe
Tuesday 15 February 2022 17:29
Forum: Utility
Topic: SlimmeLezer+ P1 meter with LAN interface
Replies: 23
Views: 6644

Re: SlimmeLezer+ P1 meter with LAN interface

janvangent2 wrote: Tuesday 15 February 2022 17:06 However, I don't see any devices (also not in the unused list). I guess these should be generated automatically, right?
In Domoticz SETUP -> Settings -> System Setup page, have you enabled "Accept new hardware devices" or pushed the red "Allow for 5 minutes" button ?
by Jieffe
Tuesday 15 February 2022 16:29
Forum: Utility
Topic: SlimmeLezer+ P1 meter with LAN interface
Replies: 23
Views: 6644

Re: SlimmeLezer+ P1 meter with LAN interface

janvangent2 wrote: Tuesday 15 February 2022 15:41 It came with ESPhome installed, not ESP-link...
Should I switch to ESP-link
Oops, I thought it came with ESP-Link but it's just an alternative firmware offered on Zuidwijk's website.

Try encoding port 6053 in Domoticz setup instead of 23
by Jieffe
Monday 14 February 2022 20:39
Forum: Utility
Topic: SlimmeLezer+ P1 meter with LAN interface
Replies: 23
Views: 6644

Re: SlimmeLezer+ P1 meter with LAN interface

connection is refused: this is what I get when I try to connect throught Telnet (using putty, port 23)... That's what I thought when you wrote the only open port was 80. Maybe try resetting it to factory settings and reconfigure. If it doesn't work, try re-flashing ESP-Link (the procedure is ...
by Jieffe
Monday 14 February 2022 15:08
Forum: Utility
Topic: SlimmeLezer+ P1 meter with LAN interface
Replies: 23
Views: 6644

Re: SlimmeLezer+ P1 meter with LAN interface

Are you able to connect to the device with telnet ? I just installed ESP-Link on an ESP-01 I had lying around and can access it on port 23 (the default Telnet port). However, just like you, I can't see where you can configure that port. I reckon it is hard-coded in the program. If you're comfortable ...
by Jieffe
Saturday 22 January 2022 19:07
Forum: Other questions and discussions
Topic: P1 smart meter remote location, how to connect
Replies: 9
Views: 2945

Re: P1 smart meter remote location, how to connect

There are two ready-made ESP8266-based devices interfacing with the P1 port that I'm aware of :

http://www.esp8266thingies.nl/wp/p1-wif ... parasitic/ (the one I'm actually using)
and
https://www.zuidwijk.com/product/slimmelezer-plus/
by Jieffe
Saturday 13 November 2021 20:05
Forum: Bash / PowerShell / Batch etc.
Topic: [TUTORIAL] XFCE Notifications
Replies: 0
Views: 2530

[TUTORIAL] XFCE Notifications

I am a long-time Linux user and my desktop of choice is XFCE4 (running under Debian). I had a frustrating afternoon trying to send notifications from Domoticz to the XFCE desktop, but it is finally working. On your Domoticz server, you need to install sshpass sudo apt install sshpass On your XFCE ...
by Jieffe
Thursday 19 August 2021 14:21
Forum: Temperature and Weather
Topic: Ikea vindriktning air quality sensor
Replies: 26
Views: 6415

Re: Ikea vindriktning air quality sensor

it send s {"idx":20373,"nvalue":0,"svalue":"0.00"} I don´t know why? Check your log in Domoticz. Does it says something along the lines "Invalid data received!" ? I've got that error when setting up a MQ-7 sensor with an Air Quality sensor in Domoticz. Turns out Domoticz didn't want decimal in the ...
by Jieffe
Friday 13 August 2021 18:08
Forum: Temperature and Weather
Topic: Ikea vindriktning air quality sensor
Replies: 26
Views: 6415

Re: Ikea vindriktning air quality sensor

The Ikea sensor provides values in ug/m3 and not ppm, because it is a generic sensor, measuring particles in the air at intervals. I wasn't aware of that, thanks for the explanation ! The ArduinoMqttClient/ArduinoJson route is certainly a more elegant way of building the MQTT message. My solution ...
by Jieffe
Thursday 12 August 2021 10:54
Forum: Temperature and Weather
Topic: Ikea vindriktning air quality sensor
Replies: 26
Views: 6415

Re: Ikea vindriktning air quality sensor

Nice work simplifying the original code. Whilst elegant, it was kind of hard to read and included a lot of useless stuff for us, Domoticz users. I intended to do the same as you did but you were faster :) I still haven't visited my local Ikea to acquire the sensor but I'm already playing with the ...