mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-28 19:57:12 +00:00
Remove reference to Python API (#15432)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
4c02deff35
commit
f8afcced60
@ -21,7 +21,7 @@ But there is more you can do! You can not only host images for customization the
|
|||||||
|
|
||||||
In the past the buzz word "Smart mirror" was used a couple of times in our [chatroom](https://discord.gg/c5DvZ4e) and even made it into the [issue tracker](https://github.com/home-assistant/home-assistant/issues/1392). The existing solutions ([Smart mirror](https://docs.smart-mirror.io/), [MagicMirror](https://michaelteeuw.nl/tagged/magicmirror), and [HomeMirror](https://github.com/HannahMitt/HomeMirror)) seems to be overkill if you already have Home Assistant running somewhere in your house or apartment. Why not simple display a web page served by Home Assistant on the tablet? No app and no Raspberry Pi running in the background.
|
In the past the buzz word "Smart mirror" was used a couple of times in our [chatroom](https://discord.gg/c5DvZ4e) and even made it into the [issue tracker](https://github.com/home-assistant/home-assistant/issues/1392). The existing solutions ([Smart mirror](https://docs.smart-mirror.io/), [MagicMirror](https://michaelteeuw.nl/tagged/magicmirror), and [HomeMirror](https://github.com/HannahMitt/HomeMirror)) seems to be overkill if you already have Home Assistant running somewhere in your house or apartment. Why not simple display a web page served by Home Assistant on the tablet? No app and no Raspberry Pi running in the background.
|
||||||
|
|
||||||
There are plenty of ways to achieve this...[RESTful API](/developers/rest_api/), [Python API](/developers/python_api/), or one of the [history components](/integrations/#history). If it is to be a web page I'm using the [MQTT Eventstream component](/integrations/mqtt_eventstream/) and [Eclipse Paho JavaScript Client](https://www.eclipse.org/paho/clients/js/).
|
There are plenty of ways to achieve this...[RESTful API](/developers/rest_api/), ~~Python API~~, or one of the [history components](/integrations/#history). If it is to be a web page I'm using the [MQTT Eventstream component](/integrations/mqtt_eventstream/) and [Eclipse Paho JavaScript Client](https://www.eclipse.org/paho/clients/js/).
|
||||||
|
|
||||||
The [HBMQTT](https://pypi.org/pypi/hbmqtt) broker provides websockets support for MQTT and mqttws31.js included in web page gives you access to the MQTT messages. It's a matter of minutes. OK, it took a little longer because I'm not a Javascript guy to create the software part that will show details about your environment. The source is available at [https://github.com/fabaff/home-assistant-display](https://github.com/fabaff/home-assistant-display) and the screenshot above shows the result. I guess that every person who is familiar with Javascript would be able to reduce the amount of code and to make it more flexible. Well, it's only a prototype and showcase to include an image in this blog post.
|
The [HBMQTT](https://pypi.org/pypi/hbmqtt) broker provides websockets support for MQTT and mqttws31.js included in web page gives you access to the MQTT messages. It's a matter of minutes. OK, it took a little longer because I'm not a Javascript guy to create the software part that will show details about your environment. The source is available at [https://github.com/fabaff/home-assistant-display](https://github.com/fabaff/home-assistant-display) and the screenshot above shows the result. I guess that every person who is familiar with Javascript would be able to reduce the amount of code and to make it more flexible. Well, it's only a prototype and showcase to include an image in this blog post.
|
||||||
|
|
||||||
|
@ -71,7 +71,6 @@
|
|||||||
/developers/multiple_instances https://developers.home-assistant.io
|
/developers/multiple_instances https://developers.home-assistant.io
|
||||||
/developers/platform_example_light https://github.com/home-assistant/example-custom-config/tree/master/custom_components/example_light
|
/developers/platform_example_light https://github.com/home-assistant/example-custom-config/tree/master/custom_components/example_light
|
||||||
/developers/platform_example_sensor https://github.com/home-assistant/example-custom-config/tree/master/custom_components/example_sensor
|
/developers/platform_example_sensor https://github.com/home-assistant/example-custom-config/tree/master/custom_components/example_sensor
|
||||||
/developers/python_api https://developers.home-assistant.io/docs/external_api_rest_python/
|
|
||||||
/developers/releasing https://developers.home-assistant.io/docs/releasing/
|
/developers/releasing https://developers.home-assistant.io/docs/releasing/
|
||||||
/developers/rest_api https://developers.home-assistant.io/docs/api/rest/
|
/developers/rest_api https://developers.home-assistant.io/docs/api/rest/
|
||||||
/developers/server_sent_events https://developers.home-assistant.io/docs/external_api_server_sent_events/
|
/developers/server_sent_events https://developers.home-assistant.io/docs/external_api_server_sent_events/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user