If you want to make your home smarter with just a few smart sockets and LCD monitor kit. This can be a project for you.
With Smart sockets from NETIO and LCD monitor kit from HARDWARIO IoT Kit you will make that possible in a no time.
1. Build hardwareYou will need just the LCD Thermostat Kit from HARDWARIO IoT Kit, don't worry about the Thermostat part, we will fix that in next steps. And NETIO smart socket, for this project it will be PowerCable REST 101x, For the assembly of LCD Thermostat Kit you can watch the video below but it is really simple. Just put all the modules together.
Put all of that into the 3D-printed enclosure and you are done with the hardware for now.
The second part of hardware is the NETIO smart sockets. You can use up to three of them for one LCD Kit. How to configure them will be explained in the next steps. For now just plug them in like a normal device.
Please check if the LEDs on the smart socket is on, if not you should try another power socket or contact NETIO support.
2. Flash firmware- Download HARDWARIO Playground.
- You can see documentation page on how to flash the firmware with HARDWARIO Playground.
- You will need the bcf-radio-netio-lcd-monitor firmware for this project.
You need to pair the Core module with the Radio dongle that you are using, follow the instructions below to see how it is done.
The same thing will go if you are using a Raspberry Pi as a server, just access the Raspberry through the IP address instead of the Playground
- Connect your USB Radio Dongle to your computer.
- Open HARDWARIO Playground
- Click Start Pairing the LED on the dongle should start blinking
- Connect the device that you want to pair into your computer or insert the batteries.
- Wait for the device to appear in the table
- It should add the device with the Alias: netio-lcd-monitor:0
- Click Stop Pairing
After you did all this you can unplug the device from the computer and insert the batteries, it will run on them without a problem. Next steps will be done on the computer, so you can leave the device and focus on the Playground.
4. Import functionOpen Node-RED in the Playground or Raspberry Pi and import the flow from here. here. In the Menu -> Import -> Clipboard. Do not forget to hit "Deploy" in the top right corner to apply the changes.
This flow will let you name your devices and get the data from them.
You will also have to select the IP address of the device that you are naming, but more on that later.
5. Set up the NETIO smart socket
You will do this the same way for all of your devices that you want to "pair" with the LCD. Just remember to have all the IP addresses.
You should get the manual with the socket but if you are struggling with the set up you can follow the guide below.
- Plug the socket into the ordinary socket to power it up
- Click the network button.
- In the list you should see the network with name PowerCable-AP-xx.Instead of the "xx" there will be some numbers.
- Connect to this network and go to the IP address 10.0.42.1 In your browser. You should see something like this.
- Select your network and click Next. In the next step just fill in your password and click Next again.
- Get the IP address of the device on your network
- Log into the device. Default log in values are: "admin" and "admin".
- Go to M2M API Protocols tab
- Check all the boxes that will be needed. If you want you can fill up the Username and Password or you can leave it empty.
- Click Save Changes.
- You should have everything mandatory for this project ready now.
Now that you know the IP address of the socket you can finish setting up of the flow.
All you have to do is open your Dashboard tab and you should see something like this.
Change the value in the URL fields according to this format:
http(s)://username:password@"IP-Address"/netio.xml
If you left your username and password blank at the previous step it will look like this:
http(s)://"IP-Address"/netio.xml
Naming is your choice but remember not to choose too long names, because the LCD is not that big and you might lose your information on the display. So something like Fan, Charger, etc. should be fine.
7. Test your deviceThe test is simple. Put your device into the smart socket, name your device in the dashboard and add the URL to the device.
If you did everything right you should be able to update the values and see the name of the device. Select the device with the long press of the right button and then switch the state.
Summary
You can get one of these monitors for every room so anyone who is in there at the moment can monitor and control the room.
If you have some experiences in programming you can maybe expand the control to some more devices you will just copy and paste my code that is already in there.
Make your projects with devices from those two companies. With the sensors from HARDWARIO IoT Kit and smart sockets from NETIO you can make great stuff.
Feel free to ask any questions about this project.
- Visit HARDWARIO page on hackster.io for more interesting projects or go directly to their website
- Go to HARDWARIO documentation to learn more about their modules and other possibilities of the platform.
- Try more firmware from HARDWARIO Playground or write your own, it is easy to start.
- Because everything is Open source you can get all firmware on GitHub, get some inspiration and try to make your own applications.
- Get your own HARDWARIO Hub to replace your computer in this project so you have always access to your applications.
- Check out more applications that can be used with HARDWARIO IoT Kit in Integrations section.
Comments