Skip to content

Instantly share code, notes, and snippets.

@bakman2
Last active August 7, 2019 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bakman2/5013a648018fdd32672b4b4522a6d336 to your computer and use it in GitHub Desktop.
Save bakman2/5013a648018fdd32672b4b4522a6d336 to your computer and use it in GitHub Desktop.
// Set ip address
ipaddress1 <ip>
ipaddress2 <gateway>
ipaddress3 <subnet>
ipaddress4 <dns>
// RF bridge Portisch with unknown but supported devices
rfraw 166
// enable portish on boot
rule1 on System#Boot do rfraw 166 endon
// publish rule for Rf data
rule1 on rfreceived#Data=<rfcode> do publish topic/cmnd/STATE ON endon
rule1 on rfraw#Data=<full raw code> do publish topic/cmnd/STATE ON endon
// ntpserver (nl.pool.ntp.org)
ntpserver1 5.39.184.5
ntpserver2 213.239.154.12
ntpserver3 5.200.6.34
// timezone (UTC +2)
timezone +2
// POW R2 get power status
Status 8
// Increase telemetry timer to 60 seconds
TelePeriod 60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment