I want Domoticz to send a temperature sensor value to espeasy.
I have a temperature sensor as a device in Domoticz (Raspberry Pi). I followed a tutorial to set up Node Red and Mosquitto to have Domoticz send data to node red.
When using MQTT Explorer, i see all sorts of data in domoticz/out, it seems to be publishing everything.
{
"Battery" : 255,
"LastUpdate" : "2023-06-08 11:43:01",
"RSSI" : 8,
"description" : "",
"dtype" : "Temp",
"hwid" : "8",
"id" : "1410A",
"idx" : 186,
"name" : "ZwembadTemp",
"nvalue" : 0,
"stype" : "LaCrosse TX3",
"svalue1" : "23.50",
"unit" : 1
}
Now i want to import this temperature into a dummy device in espeasy and eventually display it on an oled screen.
I have tried many many different things, but currently i am doing this:
Downloaded and installed latest espeasy on a wemos D1.
I set up a "Domoticz MQTT" controller on a static ip.
I created a "Generic - MQTT Import" device with "prefix for all topics" set to "domoticz/out/".
I created a "MQTT Topic:" named "ZwembadTemp" which is the name of the temperature device in Domoticz.
I enabled "Parse Json" and "Apply filters".
I set "Filter for MQTT Topic:" to "idx", "equals", "186" to filter only that specific device from domoticz.
I created a Dummy device named "ZwembadTempDummy" which i entered as value1 in the MQTT Import device, it should be linked to the imported value of "ZwembadTemp".
The value doesn't get imported.
The espeasy log looks like this:
1077243: EVENT: ZwembadTempDummy#Temperature=0.0
1077428: EVENT: Clock#Time=Thu,11:14
1082236: Dummy: value 1: 0.0
1082243: EVENT: ZwembadTempDummy#Temperature=0.0
1084985: WD : Uptime 18 ConnectFailures 0 FreeMem 14608 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
1087237: Dummy: value 1: 0.0
1087242: EVENT: ZwembadTempDummy#Temperature=0.0
1092247: Dummy: value 1: 0.0
1092253: EVENT: ZwembadTempDummy#Temperature=0.0
1097237: Dummy: value 1: 0.0
1097243: EVENT: ZwembadTempDummy#Temperature=0.0
1102237: Dummy: value 1: 0.0
1102241: EVENT: ZwembadTempDummy#Temperature=0.0
1107237: Dummy: value 1: 0.0
1107244: EVENT: ZwembadTempDummy#Temperature=0.0
1112236: Dummy: value 1: 0.0
1112241: EVENT: ZwembadTempDummy#Temperature=0.0
1114983: WD : Uptime 19 ConnectFailures 0 FreeMem 15856 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
1117236: Dummy: value 1: 0.0
1117241: EVENT: ZwembadTempDummy#Temperature=0.0
Is there any tutorial that covers exactly what i want to do? Most info i find is covering something different, the other way around or not using domoticz.
Sad thing is that i used to have quite a nice setup with four espeasy devices talking to eachother through http and controlling my pool pumps and solar heaters. But i have a pool heater now and i only want to display the temperature (and pool pump switch status) which i import from domoticz.
![Image](https://tweakers.net/i/7-AhZmDhYK-2mHThc-dbPNf7p3U=/full-fit-in/4920x3264/filters:max_bytes%283145728%29:no_upscale%28%29:strip_icc%28%29:fill%28white%29:strip_exif%28%29/f/image/yTKOqNT0QXHI04W9OidSoPJ9.jpg?f=user_large)
![Image](https://tweakers.net/i/L4vjrCp83KkTL5Ef4H4QzpQULVI=/full-fit-in/4920x3264/filters:max_bytes%283145728%29:no_upscale%28%29:strip_icc%28%29:fill%28white%29:strip_exif%28%29/f/image/uzDcfsUwMRmZD2E1z0Ltz5lN.jpg?f=user_large)
![Image](https://tweakers.net/i/cM739d9zcpSz2nXS4P7DzNv27fg=/full-fit-in/4920x3264/filters:max_bytes%283145728%29:no_upscale%28%29:strip_icc%28%29:fill%28white%29:strip_exif%28%29/f/image/S57VnYj7sjqr0rLiAJFKpMxY.jpg?f=user_large)
![Image](https://tweakers.net/i/rqmUfhEY_hzYFPC5JQZv5wocH2s=/full-fit-in/4920x3264/filters:max_bytes%283145728%29:no_upscale%28%29:strip_icc%28%29:fill%28white%29:strip_exif%28%29/f/image/jK3UPZFqKr34iAheUbu0x73w.jpg?f=user_large)
![Image](https://tweakers.net/i/hORUOue9CpPy6aaZ_J9o_LLd2bY=/full-fit-in/4920x3264/filters:max_bytes%283145728%29:no_upscale%28%29:strip_icc%28%29:fill%28white%29:strip_exif%28%29/f/image/XdTndXLSMCzaNDiGC2CERpoE.jpg?f=user_large)