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
| blueprint: | |
| name: Remote - Müller Lint Tint - Z2M MQTT v1 | |
| description: Control lights with a Müller-Lint Tint Switch. | |
| domain: automation | |
| input: | |
| remote: | |
| name: Remote mqtt topic | |
| description: This must be the TOPIC from zigbee2mqtt. For example z2m/remote_1 | |
| selector: | |
| text: |
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
| #!/bin/sh | |
| # Hint: Wayland uses ydotool instead | |
| # FYI: Multiline a special thing, because keyboard do not send the newline style that Linux wants | |
| # To workaround that tr and sed are in place | |
| # I bind that command to shift-alt-N because that's neither occupied by a Windows nor a KDE default hotkey. | |
| xdotool sleep 0.100 type --clearmodifiers -- "$(xsel -bo | tr \\n \\r | sed s/\\r*\$//)" |
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
| #!/bin/bash | |
| /sbin/ipfw -q -f flush #flush all other rulez | |
| /sbin/ipfw add 10 allow all from me to me | |
| /sbin/ipfw add 20 allow all from 80.69.32.0/20 to me | |
| /sbin/ipfw add 21 allow all from me to 80.69.32.0/20 | |
| /sbin/ipfw add 22 allow all from 10.22.0.0/22 to me | |
| /sbin/ipfw add 23 allow all from me to 10.22.0.0/22 | |
| /sbin/ipfw add 24 allow all from 37.24.211.168/29 to me |
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
| docker run -d --name miner --restart=unless-stopped --network=host --env GW_KEYPAIR=ecc://i2c-1:96?slot=0 \ | |
| --env GW_ONBOARDING=ecc://i2c-1:96?slot=15 \ | |
| --env GW_REGION=EU868 \ | |
| --env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \ | |
| --env RUST_BACKTRACE=1 \ | |
| --env GW_LISTEN=0.0.0.0:1680 \ | |
| --device /dev/i2c-1 \ | |
| quay.io/team-helium/miner:gateway-latest helium_gateway server |
OlderNewer