I figured it out.
Turns out there was a bug in the raspi_lora library I used for my python code.
It is so that, if you are not specifically sending to the device address or have receive_all=True , it will do nothing with the messages.
If you plan to use the raspi_lora library you should replace line 268 in the lora.py file with
if (self._this_address != ...
There are differences between the definitions of the two. Microcontroller is actually a microprocessor with a bunch of built-in, built-around peripherals. Such as ADC (analog digital converter), DAC (digital analog converter), EEPROM or other memory, comparators, general timers, RTC (real time clock), UART, I2C, SPI etc.
So while there are many overlapping ...
Engineering is the art of compromise. You usually have to juggle with several parameters, some of which may be at least partially contradictory.
For instance, you could have to find the best compromise between:
UI and ease of use
ease of development
A microcontroller will ...
That diagram is describing Google Assistant's Local Control SDK.
While you've said you're not looking for a general solution but you are probably going to end up using an SDR (Software Defined Radio).
While there are USB 915Mhz receivers (e.g. https://www.aliexpress.com/i/32378710247.html) they cost the same as basic receive only SDR capable hardware (https://www.nooelec.com/store/sdr/sdr-receivers/nesdr/nesdr-smart-sdr....
Hard to tell based on the current information, but if you want to run ML/DL algorithms you will need some computing power, so at least a Raspberry Pi. It supports Python but far from optimal if it will be running from a battery.
In my opinion you could run these algorithms on server side and just focus on data collection on the device itself. This way you ...
As @MaxDZ8 says, your question is very broad, but I'd like to encourage you, and this is something I'm also interested in.
You should start small, perhaps with a simple system.
You've mentioned an IP-camera, and the Pi 3 can certainly do that, for example:
Build a Raspberry Pi Webcam Server in Minutes
(see Setting up outside External Access)
Regarding your ...
I have finally resolved the issue. I have used ngork to create virtual tunnel. I tried to use ngork earlier but was unable as I was running the service on port 80. When I ran the nrogk http service on port 443, I was able to access the NextCloud server using the domain name shown on the ssh terminal. NextCloud uses port 80 for http and 443 for https. I am ...
You are always going to need to be read from the card to be able to make pretty much any normal filesystem work, even if just to read the file allocation table to work out which sectors are free to write new data to.
A better option will be to use public/private key encryption.
Include the public key on the system and use it to encrypt all data written to ...
Provision an IoT thing. For your purpose, you can just do a one off.
In your case, use the client id for your dad's device in the SQL where clause of the IoT rule.
Another idea is to change the topic that is published. Perhaps temperature/dadsRoom and use ...
First, it's bad practice to start topics with a leading / (while allowed in the spec it ends up causing problems later when you starting using things like shared subscriptions).
As John S hinted in his answer, this is not something you really want the broker to be doing, you should be doing this yourself with a separate client.
Assuming you are running the ...
You might be overthinking it. You can just create an MQTT client service that runs on the RasPi separate from the mosquitto server that subscribes to the topic that you want to transform, then publishes to the new topic upon receiving the original one. It's perfectly fine to have an MQTT client running on the same machine as the MQTT server.
So the MQTT ...
I got it working!
It was pretty easy when you got the right idea.
I use the IP's of the phones. I configured them to be static in my network.
Then, I wrote a little Python script that pings both IP-addresses. If one of the two is online, TV should be turned on. If both are offline, TV should be turned off.