New panel design
This commit is contained in:
1 parent
face2432e4
commit
b5d6b4a897
30 files changed
+4540
-171
No files matched your search
@@ -5,15 +5,39 @@
|
||||
#ifndef APP_CONFIG_H
|
||||
#define APP_CONFIG_H
|
||||
|
||||
/* From https://ambientweather.net/account
|
||||
* DEVICE_ID is the station's MAC address, e.g. "AA:BB:CC:DD:EE:FF" */
|
||||
#define WIFI_SSID ""
|
||||
#define WIFI_PASSWORD ""
|
||||
|
||||
/* --- Home Assistant (primary data source) --------------------------------
|
||||
*
|
||||
* Plain HTTP on the LAN, so there is no certificate handling and no TLS
|
||||
* handshake inside the window where rendering is paused. HA_TOKEN is a
|
||||
* long-lived access token: in Home Assistant, click your user (bottom left)
|
||||
* -> Security -> Long-lived access tokens -> Create token.
|
||||
*
|
||||
* Entity IDs are NOT here -- they are not secrets, so they live in
|
||||
* main/api/ha_config.h. Re-check them with tools/ha_discover.py.
|
||||
*/
|
||||
#define HA_HOST "192.168.1.134"
|
||||
#define HA_PORT 8123
|
||||
#define HA_TOKEN ""
|
||||
|
||||
#define HA_UPDATE_INTERVAL_MS (1 * 60 * 1000)
|
||||
|
||||
/* --- Ambient Weather (fallback only) -------------------------------------
|
||||
*
|
||||
* Used only when Home Assistant cannot be reached, and then only for outdoor
|
||||
* temperature, humidity and wind -- indoor, sun, forecast and lights have no
|
||||
* cloud equivalent. Leaving these blank is fine; it just means no fallback.
|
||||
*
|
||||
* From https://ambientweather.net/account
|
||||
* DEVICE_ID is the station's MAC address, e.g. "AA:BB:CC:DD:EE:FF"
|
||||
*/
|
||||
#define AMBIENT_WEATHER_API_KEY ""
|
||||
#define AMBIENT_WEATHER_APP_KEY ""
|
||||
#define AMBIENT_WEATHER_DEVICE_ID ""
|
||||
|
||||
#define WIFI_SSID ""
|
||||
#define WIFI_PASSWORD ""
|
||||
|
||||
#define WEATHER_UPDATE_INTERVAL_MS (1 * 60 * 1000)
|
||||
/* The fallback client's own poll interval name. */
|
||||
#define WEATHER_UPDATE_INTERVAL_MS HA_UPDATE_INTERVAL_MS
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user