Re: [mh] HA-Bridge thermostat
H Plato <[email protected]> Tue, 19 Nov 2024 18:52:44 -0700
| Newsgroups | gmane.comp.misc.misterhouse.user |
|---|---|
| Message-ID | <[email protected]> |
--===============0503485646572042869==
Content-Type: multipart/alternative;
boundary="Apple-Mail=_6428E98A-0BF0-4092-BC9A-8C82CEC58E60"
--Apple-Mail=_6428E98A-0BF0-4092-BC9A-8C82CEC58E60
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
Hi Giles,
Are you trying to expose Lounge_comfort_temp to HA in order to capture a =
number? I think you are specifying lounge_thermostat as the base_type =
and target_temp_low as the device_type. Looking at mqtt_itmes, it looks =
like MQTT_Localitem supports certain types: =
('light','switch','binary_sensor', 'sensor', 'scene', 'select', 'text', =
'cover=E2=80=99 ). Do you see an =E2=80=98Invalid mqtt type: =E2=80=98 =
in the logs?=20
A =E2=80=99select=E2=80=99 type might be what you want, specifying a =
number range. However, I haven=E2=80=99t done this so I don=E2=80=99t =
have any more advice. You might need to look through mqtt_item to see =
what=E2=80=99s needed
To confirm that HA can see this, you can try specifying a =E2=80=99switch=E2=
=80=99 type and see if it shows up in HA.
> On Nov 19, 2024, at 4:09=E2=80=AFPM, Giles Godart-Brown =
<[email protected]> wrote:
>=20
> I'm struggling to create a thermostat on the HA bridge, it never gets =
discovered by HA.
>=20
> Switches are working well on the bridge so I my API key etc must be =
OK, also generic items defined as switches are working so the broker and =
discovery settings are OK
>=20
> In Misterhouse I have a Tasmota switch for the radiator a generic =
item for the set point and another for the comfort temp.
>=20
> In Items.mht I have
> HA_SERVER, ha_house, 192.168.100.42:8123, 10, =
my API key
> HA_ITEM, lounge_thermostat, climate, lounge_thermostat, =
ha_house, Lounge
>=20
> MQTT_BROKER, mqtt_1, , xxx.xxx.xxx.xxx
> MQTT_DISCOVERY, mqtt_disc_mqtt1, homeassistant, mqtt_1, publish
>=20
> GENERIC, Lounge_comfort_temp, =
Lounge|Comfort_temp|Variable
> MQTT_LOCALITEM, Lounge_comfort_mqtt, Lounge_comfort_temp, mqtt_1, =
lounge_thermostat:target_temp_low, mh/Lounge_comfort_temp/+, 1, =
Lounge Comfort
>=20
> GENERIC, Lounge_target_temp, =
Lounge|Target_temp|Variable
> MQTT_LOCALITEM, Lounge_target_mqtt, Lounge_target_temp, mqtt_1, =
lounge_thermostat:temperature, mh/Lounge_target_temp/+, 1, Lounge =
Target
>=20
> Could someone tell me where I'm going wrong
> Thanks
> Giles
>=20
>=20
>=20
> ________________________________________________________
> To unsubscribe from this list, go to: =
https://lists.sourceforge.net/lists/listinfo/misterhouse-users
>=20
--Apple-Mail=_6428E98A-0BF0-4092-BC9A-8C82CEC58E60
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=utf-8
<html><head><meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;">Hi =
Giles,<div><br></div><div>Are you trying to expose Lounge_comfort_temp =
to HA in order to capture a number? I think you are specifying =
lounge_thermostat as the base_type and target_temp_low as the =
device_type. Looking at mqtt_itmes, it looks like MQTT_Localitem =
supports certain types: ('light','switch','binary_sensor', 'sensor', =
'scene', 'select', 'text', 'cover=E2=80=99 ). Do you see an =E2=80=98Inval=
id mqtt type: =E2=80=98 in the logs? </div><div><br></div><div>A =
=E2=80=99select=E2=80=99 type might be what you want, specifying a =
number range. However, I haven=E2=80=99t done this so I don=E2=80=99t =
have any more advice. You might need to look through mqtt_item to see =
what=E2=80=99s needed</div><div><br></div><div>To confirm that HA can =
see this, you can try specifying a =E2=80=99switch=E2=80=99 type and see =
if it shows up in =
HA.</div><div><br></div><div><br></div><div><div><br><blockquote =
type=3D"cite"><div>On Nov 19, 2024, at 4:09=E2=80=AFPM, Giles =
Godart-Brown <[email protected]> wrote:</div><br =
class=3D"Apple-interchange-newline"><div>
=20
<meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3DUTF-8">
=20
<div>
<font size=3D"4" face=3D"Calibri">I'm struggling to create a =
thermostat
on the HA bridge, it never gets discovered by HA.<br>
<br>
Switches are working well on the bridge so I my API key etc must
be OK, also generic items defined as switches are working so the
broker and discovery settings are OK<br>
<br>
In Misterhouse I have a Tasmota switch for the radiator a =
generic
item for the set point and another for the comfort temp.<br>
<br>
In Items.mht I have<br>
HA_SERVER, =
ha_house, 192.168.100.42:8123,
=
10,  =
; my API key<br>
HA_ITEM, lounge_thermostat, =
climate,
lounge_thermostat, ha_house, Lounge<br>
<br>
MQTT_BROKER, mqtt_1, , xxx.xxx.xxx.xxx<br>
MQTT_DISCOVERY, mqtt_disc_mqtt1, homeassistant, =
mqtt_1, publish<br>
<br>
GENERIC, =
Lounge_comfort_temp, =
Lounge|Comfort_temp|Variable<br>
MQTT_LOCALITEM, Lounge_comfort_mqtt, Lounge_comfort_temp, mqtt_1,
lounge_thermostat:target_temp_low, =
mh/Lounge_comfort_temp/+, 1,
Lounge Comfort<br>
<br>
GENERIC, =
Lounge_target_temp, &=
nbsp;
Lounge|Target_temp|Variable<br>
MQTT_LOCALITEM, Lounge_target_mqtt, Lounge_target_temp, mqtt_1,
lounge_thermostat:temperature, =
mh/Lounge_target_temp/+, 1,
Lounge Target<br>
<br>
Could someone tell me where I'm going wrong<br>
Thanks<br>
Giles<br>
<br>
<br>
<br>
</font>
</div>
________________________________________________________<br>To =
unsubscribe from this list, go to: =
https://lists.sourceforge.net/lists/listinfo/misterhouse-users<br><br></di=
v></blockquote></div><br></div></body></html>=
--Apple-Mail=_6428E98A-0BF0-4092-BC9A-8C82CEC58E60--
--===============0503485646572042869==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============0503485646572042869==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users
--===============0503485646572042869==--