Month: April 2019

  • openHAB – Install on Synology DiskStation

    Prerequisites Java8 package is installed Shared Folder named SmartHome with structure: SmartHome/openHAB /conf /addons /userdata Install Download latest spk here Login to the Synology DiskStation Package Center -> Manual Install -> browse for .spk file During installation: Select /SmartHome/openHAB Select a http/https port: 8888, 8889 Do not install TMPFS or Z-Wave Start openHAB via Package…

  • Arduino IDE – Insall Libraries

    There are 2 possibilities to handle with libraries: Do it manually Download library, e.g. this one Extract it to C:\Users\<username>\Documents\Arduino\libraries Use the Library Manager Tools>ManageLibraries… Search and install, e.g. EspMQTTClient (requires the library mentioned above)

  • ESP32 – Get in touch!

    Open up Arduino IDE. The following code just connects to a WiFi network and return the status via serial. Check out the Serial Monitor after uploading: Tools>SerialMonitor #include “WiFi.h” const char* ssid = “my-network”; const char* pw = “my-password”; void setup() { Serial.begin(115200); WiFi.begin(ssid, pw); while(WiFi.status() != WL_CONNECTED) { delay(500); Serial.println(“Connecting to WiFi…”); } Serial.println(“Connected…

  • Arduino IDE – Install ESP32 Support manually

    Arduino IDE (1.8.9 in my case) needs to be installed first and started at least once Download an install Download the sources of the ESP32 WiFi Chip here here Go to C:\Users\<username>\Documents\Arduino and create the following folder structure there: hardware/espressif/esp32 Extract the previously downloaded .zip to the esp32 folder Navigate to the tools folder in…

  • Install Node-RED on Synology DiskStation

    Install Install Node.js v8 via Package Center Connect via SSH and run: sudo npm install -g –unsafe-perm node-red Locate node-red: sudo find / -iname node-red Start Node-RED: node /volume1/@appstore/Node.js_v8/usr/local/bin/node-red Test in browser: <ip-address>:1880 CTRL+C to abort Autostart Configuration Install forver: sudo npm install -g forever Locate forever: sudo find / -iname forever Create a Startup…

  • Install/Configure the Mosquitto MQTT Broker on Synology NAS

    Install Install Community Packages Source: https://synocommunity.com/#easy-install Search in Community and install Mosquitto Configure Connect via SSH Locate mosquitto.conf: sudo find / -iname mosquitto.conf Edit config file: sudo nano /volume1/@appstore/mosquitto/var/mosquitto.conf Note: if nano is not installed, use vi Locate line #allow_anonymous and edit: allow_anonymous false Locate line #password_file and edit: password_file /volume1/@appstore/mosquitto/var/pwd_file Save and close Create…

  • Restore iPad to factory defaults without passkey

    Prerequisites: iTunes is installed, iPad in no longer connected to the Apple account Turn off iPad Hold Home Button and plug in USB cable while holing the Home Button Wait until the Restore Screen is showing up iTunes will open and ask to Restore the iPad, select Restore if there is not the latest software…