The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for the ‘IoT Internet of Things’ Category

Build your own Infrared reader head for electriciti smart meters for around USD 6: haus-automatisierung.com [4K] – YouTube

Posted by jpluimers on 2021/03/24

In German, but very interesting IR-Lesekopf für SmartMeter selber bauen | haus-automatisierung.com [4K] – YouTube:

I could not find the promised follow-up video at haus-automatisierung.com – YouTube, but the manual steps and the site below have enough information for me.

Too bad the site is way to big to fully archive in the WayBack machine. I only saved the top pages:

Related: [WayBack] MQTT-Grundlagen-Kurs – haus-automatisierung.com

–jeroen

Read the rest of this entry »

Posted in Development, Hardware Development, Hardware Interfacing, IoT Internet of Things, Raspberry Pi, Software Development | Leave a Comment »

Remote power control your IoT hardware and remote updating boot SD cards

Posted by jpluimers on 2020/07/16

Thomas Rini (of U-Boot and Yocto fame) mentioned these solutions for remote power control of IoT devices and remote updating SD cards in this slide State of the U-Boot – Thomas Rini, Konsulko Group:

Two power solutions I like myself are:

The combination of these allows for really flexible production and testing environments.

Slides at [WayBackELC2017 – State of the U-Boot.pdf

–jeroen

Read the rest of this entry »

Posted in Arduino, Development, ESP8266, ESP8266X, Hardware Development, Hardware Interfacing, IoT Internet of Things, Network-and-equipment, Odroid, Power User, Raspberry Pi | Leave a Comment »

Node-RED

Posted by jpluimers on 2019/12/11

Node-RED is a programming tool for wiring together hardware devices, APIs and online services in new and interesting ways.It provides a browser-based editor that makes it easy to wire together flows using the wide range of nodes in the palette that can be deployed to its runtime in a single-click.

Seems one of the ways to automate our home: [WayBack] Node-RED, as it supports many input and output methods with all kinds of nodes between them:

input output
inject debug
catch
status
link link
mqtt mqtt
http http response
websocket websocket
tcp tcp
udp udp
serial serial

It is based on node.js, seems to need PM2 for running as a service, so I need to first figure out how well it runs on OpenSuSE (with more details than this gist).

After that I need to figure out how to version your configurations using git and document as it looks like the configurations sources are stored in JSON format [WayBack].

For resources:

  • StackOverflow node-red tag
  • Github node-red repositories
  • nodered documentation to:
    • get started (including Installation, Running, Adding non-stock Nodes, Upgrading, Creating your first and second flow, running on Docker / Windows)
      • running on a device (Raspberry Pi, BeagleBone Black, Android) which needs extra device specific modules to hardware inputs/outputs
      • communicating with a device (Arduino)
      • running in the cloud (IBM Bluemix, SenseTecnic FRED, Amazon Web Services, Microsoft Azure)
    • user guide (including Configuration, Security, Logging, Command-line Admin, Writing Functions, Embedding into an existing app)
    • cookbook (with many flows covering Basics, HTTP and MQTT)
    • creating nodes (with a wall of information: Creating your first node, JavaScript File, HTML File, Storing Context, Node properties, Node credentials, Node appearance, Node status, Configuration nodes, Help style guide, Packaging, Internationalisation)
    • flows (hundreds of them)

Code is published as JSON, but I wish more examples also showed the visual representation.

Via: [WayBack] Now I can go to bed :-) Added node-red [1] to my setup and thanks to node-red-contrib-ui [2] (replaced by node-red-dashboard [3]) I can now generate ni… – Jan Wildeboer – Google+ who also provided the large screenshot below.

–jeroen

Read the rest of this entry »

Posted in Development, Hardware Development, IoT Internet of Things, Network-and-equipment, Power User, Raspberry Pi | Leave a Comment »

IKEA TRÅDFRI lamps [1] when equipped with Firmware >= 1.2.217 integrate with Philips Hue and vice versa…

Posted by jpluimers on 2019/08/05

Reminder to self [WayBack] Just a small FTR. Yes, the IKEA TRÅDFRI lamps [1] when equipped with Firmware >= 1.2.217 intergrate seamlessly into the Philips Hue system, thanks to t… – Jan Wildeboer – Google+:

  • IKEA lamps integrate with Philips Hue
  • Philips Hue lamps integrate with the
  • IKEA lamps pair to the remote that you paired with the gateway before: no need to bring the lamp close to the gateway first
  • Philips tries the same
  • Remotes have a 10-decide limit

Links:

--jeroen

Posted in IKEA hacks, IoT Internet of Things, LifeHacker, Network-and-equipment, Power User | Leave a Comment »

Sonoff Wireless Switch Family Gets a $3 IP66 Waterproof Enclosure

Posted by jpluimers on 2019/07/15

Interesting stuff from a while back that I will be using soon: [WayBack] Sonoff Wireless Switch Family Gets a $3 IP66 Waterproof Enclosure.

Pictures via CNX Software; originally found via [WayBack] $2.90 waterproof case for +ITEAD Studio Sonoff switches… – Jean-Luc Aufranc – Google+

–jeroen

Read the rest of this entry »

Posted in Development, ESP8266, Hardware Development, IoT Internet of Things, Network-and-equipment, Power User | Leave a Comment »

Repurposing Old Smartphones for Home Automation | Linux.com | The source for Linux information

Posted by jpluimers on 2019/03/13

Interesting read and watch:

At the recent Embedded Linux Conference and OpenIoT Summit, Mozilla Technical Evangelist Dietrich Ayala proposed a simple and affordable solution to home automation: A discarded smartphone can handle some of the most useful home automation tasks without requiring expensive hubs and sensors — or risking data security in the cloud.

Source: [WayBackRepurposing Old Smartphones for Home Automation | Linux.com | The source for Linux information.

Via Ruurd Pels.

GitHub Repository  autonome/context by autonome (Dietrich Ayala)

–jeroen

https://www.youtube.com/watch?list=PLGeM09tlguZRbcUfg4rmRZ1TjpcQQFfyr&v=4RWSXlai6PE

Posted in Development, Hardware Development, IoT Internet of Things, Network-and-equipment, Power User, Software Development | Leave a Comment »

Accessing storage (NAS) over the Internet via FTP | FRITZ!Box 7490 | AVM International

Posted by jpluimers on 2019/02/13

Of course you don’t want this. So by the time you read this, the connection has been closed.

For testing some Internet of Shit stuff from a client that cannot do SFTP, I needed a temporary FTP accessible connection.

These links helped:

TL;DR:

  1. Preparing the USB stick:
    1. Ensure the USB disk is FAT/FAT32/NTFS
    2. Create a directory in the root of the USB disk for the FTP user (for now: FtpDirectory)
    3. Insert the USB disk in the Fritz!Box
  2. Logon to the Fritz!Box web UI
    1. Configure a user for FTP:
      1. In the menu, go to System, then FRITZ!Box Users
      2. Click Add user
      3. Name the user (for now: MyFtpUser)
      4. Ensure that user *only* has a checkmark for `Access to NAS contents`
      5. Click the button Add directory
      6. In the popup click Select folder
      7. Choose the FtpDirectory you just made
      8. Click OK
      9. Ensure the read and write checkboxes are enabled
      10. Click OK
    2. Configure the USB stick for FPT access
      1. In the menu, go to Home Network, then USB Devices
      2. Observe if the device is visible and has the correct file system (if not: ask AVM)
      3. In the menu, go to Internet, then Permit Access
      4. Click on the FRITZ!Box Services
      5. Ensure there is a checkmark at Internet access to your storage media via FTP/FTPS enabled
      6. At TCP Port for FTP/FTPS, fill in 21 (many IoT devices cannot use a different port)
      7. Ensure there is *no* checkmark at Allow only secure FTP connections (FTPS)
      8. Make a note of the value after FTP address (something like ftp://example.org:21`)
      9. Click Apply
  3. Test

–jeroen

Posted in Communications Development, Development, Fritz!, Fritz!Box, FTP, Internet protocol suite, IoT Internet of Things, Network-and-equipment, Power User, Software Development, TCP | Leave a Comment »

SSH: Connection Reset by Peer – Server Fault

Posted by jpluimers on 2018/11/22

One occasion I had SSH throw a Connection Reset by Peer on my when was the SD-card of a Raspberry Pi started failing and the ext4 filesystem got mounted in read-only mode.

Then sshd was still listening on port 22, but since it could not write to disk any more, it threw a Connection Reset by Peer to the client.

It was on OpenSuSE Tumbleweed, but would failed just as well using Raspbian.

Lessons learned:

  • IoT hardware will fail.
  • ext4 breaks when the hardware breaks.

–jeroen

Reference:

Posted in *nix, *nix-tools, Debian, Development, Hardware Development, IoT Internet of Things, Linux, Network-and-equipment, openSuSE, Power User, Raspberry Pi, Raspbian, SuSE Linux, Tumbleweed | Leave a Comment »

playing with IOT

Posted by jpluimers on 2018/09/06

Interesting stuff:

Open-source home automation platform running on Python 3. Track and control all devices at home and automate control. Installation in less than a minute.

Source: Home Assistant

Via:

CounterDesk
@Dysan18 mei 2017 09:47

Ik doe dus een hoop met home-assistant (https://home-assistant.io/) en wat custom Python scripts/apis wat allemaal op een oude laptop met ubuntu draait (10w verbruik).

De Horizon Box specifiek gaat via Harmony Hub, kan via de standaard integratie of via eigen brouwsels. Lifx en Nest heeft standaard integratie met Google Home. Al heb ik voor Lifx zelf het een-en-ander geschreven in Python om bijvoorbeeld scenes op te slaan en op te roepen met voice commando’s, dat kan weer niet standaard. NS API gaat ook via die Python API en wat er terug gezegd wordt (in het Nederlands) gaat via home-assistant.

Het voordeel van zelf zoiets bouwen is dat ik alles makkelijkers aan elkaar kan knopen dan bijvoorbeeld via IFTTT en Stringify o.i.d.. Zo kan ik bijvoorbeeld “Hey Google, sexy time” roepen en dan veranderd mijn verlichting langzaam naar iets romantischers (denk rood/oranje/roze), speelt er een zwoel lounge muziekje op mijn Sonos van een samba share, gaat de tempratuur wat omhoog en gaat mijn tv aan naar het chromecast kanaal en speelt er van die zelfde samba share een mp4 met een haardvuurtje.

Vet cheesy, I know, ik moet er de eerste vrouw nog mee verrassen :P maar het was ook vooral als demo van wat ik allemaal kan aansturen, bedoeld als grapje voor vrienden etc.

Google voegt een notificatiefunctie toe aan zijn Home-speaker. Als gebruikers een belangrijk bericht krijgen, zullen de ledjes op de speaker de aandacht gaan trekken van de gebruiker. De speaker gaat vooralsnog niet uit zichzelf spreken.

Source: Home-speaker van Google krijgt notificatiefunctie – Beeld en geluid – Nieuws – Tweakers

–jeroen

Posted in Development, IoT Internet of Things, Network-and-equipment, Power User, Software Development | Leave a Comment »

cool solution for precise point positioning (PPP) GPS/GLONASS navigation on Raspberry Pi…

Posted by jpluimers on 2018/08/31

cool solution for precise point positioning (PPP) GPS navigation.The RasPiGNSS “Aldebaran” expansion board fits onto the Pi’s expansion connector (named P1).

Source: Hi all, I found this cool solution for precise point positioning (PPP) GPS na…

Device: Dr. Franz Fasching » Products » GNSS » RasPiGNSS [WayBack]

–jeroen

Posted in Development, Hardware Development, IoT Internet of Things, Network-and-equipment, Power User, Raspberry Pi | Leave a Comment »