To use, run the setup-dns
script within the Dorothy dotfile ecosystem
This file contains 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
Download the RKN list from https://github.com/zapret-info/z-i, massage it into | |
a Mikrotik script that manages a firewall address list, and put it up on a web | |
server. Note well that the list is gigantic---more than 80,000 entries as of | |
2018-04-28---so be sure to check if your router can handle it in advance (for | |
example, hAP Lite, with its measly 32M of memory, can’t). | |
On the router side, do something like | |
/tool fetch url="https://sheaf.site/rkn.rsc" dst-path=rkn.rsc | |
:import rkn.src |
This file contains 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
/* | |
IoT Manager mqtt device client https://play.google.com/store/apps/details?id=ru.esp8266.iotmanager | |
Based on Basic MQTT example with Authentication | |
PubSubClient library v 1.91.1 https://github.com/Imroy/pubsubclient | |
- connects to an MQTT server, providing userdescr and password | |
- publishes config to the topic "/IoTmanager/config/deviceID/" | |
- subscribes to the topic "/IoTmanager/hello" ("hello" messages from mobile device) | |
Tested with Arduino IDE 1.6.6 + ESP8266 Community Edition v 2.0.0-stable and PubSubClient library v 1.91.1 https://github.com/Imroy/pubsubclient | |
ESP8266 Community Edition v 2.0.0-stable have some HTTPS issues. Push notification temporary disabled. |
This file contains 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
/* | |
IoT Manager mqtt device client https://play.google.com/store/apps/details?id=ru.esp8266.iotmanager | |
Based on Basic MQTT example with Authentication | |
PubSubClient library v 1.91.1 https://github.com/Imroy/pubsubclient | |
- connects to an MQTT server, providing userdescr and password | |
- publishes config to the topic "/IoTmanager/config/deviceID/" | |
- subscribes to the topic "/IoTmanager/hello" ("hello" messages from mobile device) | |
Tested with Arduino IDE 1.6.6 + ESP8266 Community Edition v 2.0.0-stable and PubSubClient library v 1.91.1 https://github.com/Imroy/pubsubclient | |
ESP8266 Community Edition v 2.0.0-stable have some HTTPS issues. Push notification temporary disabled. |