Software Links » History » Version 13
  Hammel, 07 Feb 2018 10:32 
  
| 1 | 1 | Hammel | h1. Software Links | 
|---|---|---|---|
| 2 | |||
| 3 | * "Alexa Voice Service":https://developer.amazon.com/appsandservices/solutions/alexa/alexa-voice-service from Amazon | ||
| 4 | 3 | Hammel | * "Awesome IoT":https://github.com/phodal/awesome-iot - links to lots of other stuff | 
| 5 | 2 | Hammel | |
| 6 | h2. AI | ||
| 7 | |||
| 8 | * "Tensor Flow":https://www.tensorflow.org/ is an open source deep learning tool that might be useful for automated monitoring systems. | ||
| 9 | 1 | Hammel | * "Theono":http://deeplearning.net/software/theano/ is also for deep learning, but is math oriented more than task oriented. It's easier to get started with Tensor Flow. | 
| 10 | 3 | Hammel | |
| 11 | 13 | Hammel | h2. Protocols and Standards | 
| 12 | 1 | Hammel | |
| 13 | 13 | Hammel | * "WebOfThings (WoT)":https://webofthings.org/ - General standards for IoT device management; a bit overkill as usual | 
| 14 | 3 | Hammel | * "Advanced Message Queuing Protocol":https://www.amqp.org/ (AMQP) | 
| 15 | * "Constrained Application Protocol":http://coap.technology/ (CoAP) - see microcoap for Arduino | ||
| 16 | * "Extensible Messaging and Presence Protocol":http://xmpp.org/about-xmpp/history/ (XMPP) | ||
| 17 | * "OASIS Message Queuing Telemetry Transport":https://www.oasis-open.org/news/pr/oasis-members-to-advance-mqtt-standard-for-m2m-iot-reliable-messaging (MQTT) | ||
| 18 | * "Very Simple Control Protocol":http://www.vscp.org/ (VSCP) | ||
| 19 | * "OpenWSN":https://openwsn.atlassian.net/wiki/ - repository for open-source implementations of protocol stacks based on Internet of Things standards, using a variety of hardware and software platforms. | ||
| 20 | |||
| 21 | h2. OS | ||
| 22 | |||
| 23 | * "ARM mbed":http://mbed.org/ | ||
| 24 | * "Contiki":http://www.contiki-os.org/ | ||
| 25 | * "Spark":http://spark.github.io/ | ||
| 26 | * "RIOT":https://openwsn.atlassian.net/wiki/ - alternative to Arduino with CoAP included | ||
| 27 | |||
| 28 | 10 | Hammel | h2. Networking | 
| 29 | |||
| 30 | * "WiFi AP + client":http://imti.co/post/145442415333/raspberry-pi-3-wifi-station-ap describes how to setup a wifi dongle as both an AP and a client, routing between the two. We don't need to route from the sensors to the internet, however. | ||
| 31 | |||
| 32 | 3 | Hammel | h2. APIs | 
| 33 | 1 | Hammel | |
| 34 | 13 | Hammel | * "Mozilla IoT":https://iot.mozilla.org/ - Mozilla's IoT software based on WoT; provides a sample implementation that might be useful to follow for IronMan, at least in the UI. | 
| 35 | 3 | Hammel | * "Qeo Tinq":https://github.com/brunodebus/tinq-core | 
| 36 | 10 | Hammel | * "Twitter":https://dev.twitter.com/rest/public | 
| 37 | ** "CURL":https://alvinabad.wordpress.com/2009/03/01/send-twitter-message-from-unix/ - may not work exactly like this with new API | ||
| 38 | ** "tweet.sh":https://github.com/piroor/tweet.sh | ||
| 39 | * SMS | ||
| 40 | ** "SMS via Email gateways per carrier":http://www.linuxjournal.com/content/system-status-sms-text-messages | ||
| 41 | 3 | Hammel | |
| 42 | h2. Home Automation | ||
| 43 | |||
| 44 | * "PrivateEyePi":http://projects.privateeyepi.com/ - General home automation using Raspberry Pi | ||
| 45 | * "RaZberry":http://razberry.z-wave.me/ - Using Raspberry Pi with Z-Wave devices | ||
| 46 | * "OpenHAB":http://www.openhab.org/ | ||
| 47 | * "Home Assistant":https://home-assistant.io/ | ||
| 48 | 4 | Hammel | |
| 49 | h2. Arduino | ||
| 50 | |||
| 51 | 5 | Hammel | * "Deep Sleep Mode":http://www.esp8266.com/wiki/doku.php?id=esp8266_power_usage#sleeping_the_esp8266 | 
| 52 | 6 | Hammel | ** "Door Alarm w/ deep sleep mode":https://github.com/chaeplin/esp8266_and_arduino/blob/master/_48-door-alarm-deepsleep/_48-door-alarm-deepsleep.ino - This allows using both a software timeout and an alarm interrupt to wake from deep sleep.  Design is similar to this "PIR-based implementation":https://github.com/esp8266/Arduino/issues/1488 ("diagram only":https://cloud.githubusercontent.com/assets/25507805/25678678/de4659a0-304a-11e7-90d4-a5c19241e7f6.png) | 
| 53 | 4 | Hammel | ** See these discussions | 
| 54 | *** https://github.com/esp8266/Arduino/issues/1488 | ||
| 55 | *** https://forum.makehackvoid.com/t/weather-station-wake-up-triggered-by-either-the-rtc-or-a-momentary-switch/972 | ||
| 56 | *** https://github.com/esp8266/Arduino/issues/1381 | ||
| 57 | *** https://github.com/chaeplin/esp8266_and_arduino/tree/master/_48-door-alarm-deepsleep | ||
| 58 | 7 | Hammel | |
| 59 | h2. Security | ||
| 60 | |||
| 61 | * "Securing Embedded Linux":https://www.linux.com/news/securing-embedded-linux | ||
| 62 | 12 | Hammel | * AES | 
| 63 | ** This is a symmetric encryption technique which means there is only one shared secret. Public/Private keys are not used with AES. | ||
| 64 | 1 | Hammel | ** "Symmetric AES using IVs (initial vectors)":https://forum.arduino.cc/index.php?topic=88890.msg1726730#msg1726730 | 
| 65 | 12 | Hammel | ** Arduino Libraries for AES | 
| 66 | *** "AES for embedded":https://github.com/spaniakos/AES/ (Arduino or Raspberry Pi) | ||
| 67 | *** "ArduinoLibs":https://github.com/rweather/arduinolibs contains a "crypto library":https://rweather.github.io/arduinolibs/index.html. | ||
| 68 | *** "AES Lib":https://github.com/kakopappa/arduino-esp8266-aes-lib | ||
| 69 | *** "AES Crypto":https://github.com/intrbiz/arduino-crypto | ||
| 70 | 8 | Hammel | |
| 71 | h2. Software updates | ||
| 72 | |||
| 73 | Three parts to a software update: bootloader, kernel and rootfs/apps. | ||
| 74 | # This adds u-boot as 3rd stage bootloader to Pi. First stage (in hardware) doesn't change and 2nd stage (binary blobs) only change with new SD cards. | ||
| 75 | # u-boot is used to swap between kernels and partitions, test sanity of new images. | ||
| 76 | # kernel fallback capability is required | ||
| 77 | # rootfs/apps fallback capability is required | ||
| 78 | |||
| 79 | * "Building Murphy-compatible embedded Linux systems":https://www.kernel.org/doc/ols/2005/ols2005v1-pages-21-36.pdf | ||
| 80 | * "Implementing update system for embedded Linux":https://stackoverflow.com/questions/6937592/implementing-an-update-upgrade-system-for-embedded-linux-devices discussion on stackoverflow | ||
| 81 | * "On the field software updates":http://wiki.dave.eu/index.php/Deploying_Embedded_Linux_Systems#On-the-field_software_upgrades in Deploying Embedded Linux Systems | ||
| 82 | * "Updating Firmware in Linux Based Devices":http://www.linuxjournal.com/content/updating-firmware-linux-based-devices in Linux Journal, discusses use of A/B partitions and pointing boot loader at current release. |