diff --git a/BSB_LAN/custom_functions/README.md b/BSB_LAN/custom_functions/README.md index fb5c3e6c..8a2805bb 100644 --- a/BSB_LAN/custom_functions/README.md +++ b/BSB_LAN/custom_functions/README.md @@ -14,3 +14,27 @@ To use these scripts, you have to do two things: Theoretically, you can use several of these custom functions at the same time, and sometimes it's as easy as just copy-pasting each code segment one after the other for each file. But do take note that this is similar to writing code for BSB-LAN itself, so be aware of what you are doing. **Please understand that we cannot give any individual support in case of errors or problems!** + +# DHT22_sensor_controls_fan + +This script reads the temperatures from two DHT22 sensors (one outside and one inside) and turns on a fan connected to GPIO 6 in case the +absolute inside humidity is higher than the absolute outside humidity and the inside temperature is higher than 15 degrees celsius. + +# Map_DS18B20_sensors_to_custom_floats + +This script takes the readings of DS18B20 sensors and writes them to the custom floats parameters (20700 and above) for easier access. + +# Modbus_Interface + +This set of scripts enable BSB-LAN to be accessed via Modbus. Parameters can be read and written. However, take note that no data type +conversion takes place in this script, so only unsigned 16-bit integer values will be transmitted correctly. All other kinds of data +types will have to be encoded/decoded accordingly. + +# Send_NTP_time_to_heater + +This script connects to an NTP time server and writes the accurate time to the heater's internal clock. + +# Send_room_temperature_based_on_MAX_thermostats + +This script collects the current temperature of registered MAX! thermostats, calculates an avaerage and sends this average as the current +room temperature to the heater (via parameter 10000).