Metainformationen zur Seite

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
plugins:foshkplugin:foshkplugin_generic_version [2024/03/28 01:39] Oliver Engelplugins:foshkplugin:foshkplugin_generic_version [2024/04/15 19:32] (aktuell) Oliver Engel
Zeile 74: Zeile 74:
   * changed: all incoming get-requests will be URL-decoded now   * changed: all incoming get-requests will be URL-decoded now
   * new: enable signal quality acquisition on supported consoles with Export\ADD_SIGNAL = True (default: False)   * new: enable signal quality acquisition on supported consoles with Export\ADD_SIGNAL = True (default: False)
 +  * new: with the option FWD_OPTION = blacklist=False, the additional values for spread and signal quality are forwarded in Ecowitt format for this specific forward
 +  * new: Introduction of a naming scheme for beta versions ("Beta YYMMDD") - displayed at startup, in the log files and on the web pages generated by FOSHKplugin
 +  * new: ADD_SCRIPT - offers the possibility to integrate data from third party devices - see https://foshkplugin.phantasoft.de/generic#script
 +  * changed: postroot.sh - check Pillow installation fixed (newer versions named pillow instead of Pillow) - LoxBerry only
 +  * changed: sed is now working globally in postinstall.sh & postupgrade.sh - LoxBerry only
 +  * new: enable debug mode if file debug.enable found in the config directory\\ enable debug mode with bin/service.sh debug-enable and disable with bin/service.sh debug-disable - LoxBerry only
 +  * changed: **changed default SUN_COEF from 0.8 to 0.92** - should fit better for Germany (too little sunshine recorded: decrease value; too much: increase)
 +  * changed: all sun related values (e.g. sunshine, srsum, sunhours, ...) are only transmitted if solarradiation is present
 +  * improved: better integration with Home Assistant (MQTT discovery) - see [[https://foshkplugin.phantasoft.de/generic#hass|https://foshkplugin.phantasoft.de/generic#hass]]
  
  
Zeile 3126: Zeile 3135:
 FWD_URL = 192.168.15.236:1883@homeassistant/FOSHKplugin FWD_URL = 192.168.15.236:1883@homeassistant/FOSHKplugin
 FWD_ENABLE = True FWD_ENABLE = True
-FWD_OPTION = MQTTCYCLE=5,hass=True,devname=GW1000-Test,minmax=False,status=False+FWD_OPTION = MQTTCYCLE=5,hass=True,devname=GW1000-Test,minmax=False,status=False,dtime_format="%d.%m.%Y %H:%M:%S",diagnostic=False
 FWD_SID = MQTT-username FWD_SID = MQTT-username
 FWD_PWD = MQTT-password FWD_PWD = MQTT-password
Zeile 3141: Zeile 3150:
 \\ \\
 By default, all values including the min/max values (if configured) are transmitted via MQTT. To prevent the transmission of the min/max values, minmax=False can be set as an additional option in FWD_OPTION. If the status messages from FOSHKplugin are also to be made available via MQTT, FWD_STATUS should be set to True. Alternatively, this option can also be specified as status=True in FWD_OPTION.\\ By default, all values including the min/max values (if configured) are transmitted via MQTT. To prevent the transmission of the min/max values, minmax=False can be set as an additional option in FWD_OPTION. If the status messages from FOSHKplugin are also to be made available via MQTT, FWD_STATUS should be set to True. Alternatively, this option can also be specified as status=True in FWD_OPTION.\\
 +The time format for the output of timestamps (e.g. lightning_time and all min/max times) can be defined with dtime_format. For possible formatting options, see the recipe [[plugins:foshkplugin:foshkplugin_generic_version#dt_format|Adjust the output format for date and time (from v0.10)]]. If dtime_format is missing in FWD_OPTION, the central setting Config\DT_FORMAT is used instead.\\
 +If the sensor data is to be separated from the diagnostic data (info data, battery and signal values), this can be realised via the additional option diagnostic=True in the FWD_OPTION. Two separate cards for sensor data and diagnostic data are then generated in the Home Assistant. If diagnostic=False is set or the diagnostic option is missing within the FWD_OPTION, all data is displayed together in one card.\\
 \\ \\
 <WRAP center round important 100%> <WRAP center round important 100%>
-**Attention!**\\  **The spelling of the options is case-sensitive - only "MQTTCYCLE", "hass", "devname" "minmax" and "status" apply.**\\  **The hierarchy and the device name must not contain any special characters, umlauts or spaces (these are automatically removed).**+**Attention!**\\  **The spelling of the options is case-sensitive - only "MQTTCYCLE", "hass", "devname" "minmax""status", "dtime_format" and "diagnostic" apply.**\\  **The hierarchy and the device name must not contain any special characters, umlauts or spaces (these are automatically removed).**
 </WRAP> </WRAP>
  
Zeile 3171: Zeile 3182:
 \\ \\
 All data points generated by FOSHKplugin should now be available within Home Assistant for further use and visualisation.\\ All data points generated by FOSHKplugin should now be available within Home Assistant for further use and visualisation.\\
 +\\
 +{{:plugins:foshkplugin:homeassistantfoshkplugin.png?direct&400|}}
 +\\
 \\ \\
 **Advantages of the connection via FOSHKplugin and MQTT** **Advantages of the connection via FOSHKplugin and MQTT**