Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hass Plugin
#3
(2022 Jan 19, 03:42 PM)dan Wrote:
(2022 Jan 18, 09:19 AM)DrLabel Wrote: Is the Hass plugin working?

As as far as I know.
That plugin was contributed by a SIP user who spent a lot of time developing it. I don't have Home Assistant so I don't have a way to test it.

Dan

I can't put it to work....

Is installed :
https://photos.app.goo.gl/jFdwTmSTJ2En462N7
but don't publish anything to mqtt server :
https://photos.app.goo.gl/H8NwCV15DnTRXQLv9

my log:
Jan 20 23:19:15 raspberrypi systemd[1]: Started SIP.
Jan 20 23:19:16 raspberrypi sip[4137]: Ignoring exception while loading the mqtt_hass plug-in.
Jan 20 23:19:16 raspberrypi sip[4137]: No module named slugify
Jan 20 23:19:17 raspberrypi sip[4137]: MQTT publish UP
Jan 20 23:19:17 raspberrypi sip[4137]: Messge from Signaling plugin!: Just an example!
Jan 20 23:19:17 raspberrypi sip[4137]: plugins loaded:
Jan 20 23:19:17 raspberrypi sip[4137]: mobile_app
Jan 20 23:19:17 raspberrypi sip[4137]: mqtt
Jan 20 23:19:17 raspberrypi sip[4137]: mqtt_schedule
Jan 20 23:19:17 raspberrypi sip[4137]: mqtt_zones
Jan 20 23:19:17 raspberrypi sip[4137]: plugin_manager
Jan 20 23:19:17 raspberrypi sip[4137]: relay_board
Jan 20 23:19:17 raspberrypi sip[4137]: signaling_examples
Jan 20 23:19:17 raspberrypi sip[4137]: system_update
Jan 20 23:19:17 raspberrypi sip[4137]: weather_level_adj
Jan 20 23:19:17 raspberrypi sip[4137]: Starting timing loop
Jan 20 23:19:17 raspberrypi sip[4137]: A new day has started.
Jan 20 23:19:19 raspberrypi sip[4137]: http://192.168.1.123:80/
Jan 20 23:19:21 raspberrypi sip[4137]: Checking weather status...
Jan 20 23:19:22 raspberrypi sip[4137]: Current temperature:
Jan 20 23:19:22 raspberrypi sip[4137]: 6.9deg.C
Jan 20 23:19:22 raspberrypi sip[4137]: ________________________________
Jan 20 23:19:22 raspberrypi sip[4137]: Daily irrigation:
Jan 20 23:19:22 raspberrypi sip[4137]: 3.0mm
Jan 20 23:19:22 raspberrypi sip[4137]: Total rainfall:
Jan 20 23:19:22 raspberrypi sip[4137]: 0.0mm
Jan 20 23:19:22 raspberrypi sip[4137]: Water needed (3days):
Jan 20 23:19:22 raspberrypi sip[4137]: 0.0mm
Jan 20 23:19:22 raspberrypi sip[4137]: ________________________________
Jan 20 23:19:22 raspberrypi sip[4137]: Irrigation needed:
Jan 20 23:19:22 raspberrypi sip[4137]: 0.0mm
Jan 20 23:19:22 raspberrypi sip[4137]: Weather Adjustment:
Jan 20 23:19:22 raspberrypi sip[4137]: 0%
Jan 20 23:19:22 raspberrypi sip[4137]: 192.168.1.228:42006 - - [20/Jan/2022 23:19:22] "HTTP/1.1 GET /" - 200 OK
Jan 20 23:19:23 raspberrypi sip[4137]: 192.168.1.228:42010 - - [20/Jan/2022 23:19:23] "HTTP/1.1 GET /" - 200 OK
Jan 20 23:19:23 raspberrypi sip[4137]: 192.168.1.228:42006 - - [20/Jan/2022 23:19:23] "HTTP/1.1 GET /" - 200 OK
Jan 20 23:19:23 raspberrypi sip[4137]: 192.168.1.228:42010 - - [20/Jan/2022 23:19:23] "HTTP/1.1 GET /" - 200 OK
Jan 20 23:19:23 raspberrypi sip[4137]: 192.168.1.228:42006 - - [20/Jan/2022 23:19:23] "HTTP/1.1 GET /" - 200 OK
Jan 20 23:19:24 raspberrypi sip[4137]: 192.168.1.228:42012 - - [20/Jan/2022 23:19:24] "HTTP/1.1 GET /api/status" - 200 OK
Jan 20 23:19:24 raspberrypi sip[4137]: 192.168.1.228:42006 - - [20/Jan/2022 23:19:24] "HTTP/1.1 GET /api/log" - 200 OK
Jan 20 23:19:24 raspberrypi sip[4137]: 192.168.1.228:42006 - - [20/Jan/2022 23:19:24] "HTTP/1.1 GET /api/log" - 200 OK

pi@raspberrypi:~ $ python3 -m pip install python-slugify --upgrade
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: python-slugify in /usr/local/lib/python3.7/dist-packages (5.0.2)
Requirement already satisfied, skipping upgrade: text-unidecode>=1.3 in /usr/local/lib/python3.7/dist-packages (from python-slugify) (1.3)

What can I do more ?
Reply


Messages In This Thread
Hass Plugin - by DrLabel - 2022 Jan 18, 09:19 AM
RE: Hass Plugin - by dan - 2022 Jan 19, 03:42 PM
RE: Hass Plugin - by DrLabel - 2022 Jan 20, 10:36 PM
RE: Hass Plugin - by dan - 2022 Jan 21, 02:29 PM
RE: Hass Plugin - by DrLabel - 2022 Jan 21, 08:58 PM
RE: Hass Plugin - by OldSurferDude - 2023 Jan 05, 05:44 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)