Skip to content

Commit

Permalink
Layout changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fredlcore committed Dec 11, 2023
1 parent d161b7c commit e752301
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions BSB_LAN/custom_functions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@ 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
## 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
## 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
## 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. If you can live with sending/receiving temperature values with their decimal places removed, you can use this script for example to set setpoint temperatures, query outside temperatures or change operation modes without having to worry about conversions.

## Send_NTP_time_to_heater
## 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
## 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).

0 comments on commit e752301

Please sign in to comment.