| Register(s) | Meaning | Scale Unit | Data format | R/W |
|---|---|---|---|---|
| 0000h-0001h | total energy | 1/100 kWh | unsigned dword | R¹ |
| 0002h-0003h | reserved | unsigned dword | ||
| 0004h-0005h | reserved | unsigned dword | ||
| 0006h-0007h | reserved | unsigned dword |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| onServerStartup () { | |
| const { serverId, ip } = getServerInfo() // serverId does not change across restarts | |
| this.serverId = serverId | |
| // We don't have any routers or producers (yet). Clear any value that exists in the DB related to our serverId | |
| clearSharedDB(serverId, 'routers') | |
| clearSharedDB(serverId, 'producers') | |
| // Update the DB with our serverId and ip so that others will know how to reach us | |
| registerServerInDB(serverId, ip) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 -u | |
| import argparse | |
| argument_parser = argparse.ArgumentParser('Run the HVAC BAC0 server') | |
| argument_parser.add_argument('--local-address', help='local IP address to bind to', required=True) | |
| argument_parser.add_argument('--local-port', help='UDP port to bind to') | |
| argument_parser.add_argument('--bbmd-address', help='IP:port of the BACnet BBMD to register against, if any') | |
| argument_parser.add_argument('--bbmd-ttl', help='TTL of the BACnet foreign device registration, in seconds', type=int) | |
| argument_parser.add_argument('--bacnet-network', help='BACnet network to discover devices on; can be specified multiple times', type=int, action='append', required=True) | |
| argument_parser.add_argument('--prometheus-port', help='Serve Prometheus metrics on this port', type=int) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 23.21.150.121:3478 | |
| iphone-stun.strato-iphone.de:3478 | |
| numb.viagenie.ca:3478 | |
| s1.taraba.net:3478 | |
| s2.taraba.net:3478 | |
| stun.12connect.com:3478 | |
| stun.12voip.com:3478 | |
| stun.1und1.de:3478 | |
| stun.2talk.co.nz:3478 | |
| stun.2talk.com:3478 |