Raspberry π

Posted on
Page
of 53
  • She actually used these seeedstudio.com/Seeeduino-LoRaWAN-W-GPS-p-2781.html . There is no wifi, but a GPS and a Lorawan. They are nodes on the lorawan network.

  • Yes, WiFi, oled display and lora onboard. For the purposes of my test, the remote transmitting node has WiFi and oled disabled and wakes from deep sleep every fifteen minutes to send a reading to another Dev board which I have coded to act as a simple gateway. Ie just pushes the contents of received packets straight to thingspeak. Just tested it out to 2km with only quarter wave wire antennas.

    Wired is not an option as transmission range is in the kilometers and across terrain that cannot be cabled (crevasses, avalanches etc)

  • Has anyone played with the Google AIY Voice bits? I have one of the original V1 sets, that I've built up on a Pi 3b+ (but could swap to a 3 I think) that is running my weather station (via PYWWS)

    This means it's running on Rasbian, which the bit's I've found suggest the AIY stuff doesn't like...

  • Wired is not an option as transmission range is in the kilometers and across terrain that cannot be cabled (crevasses, avalanches etc)

    Yeah, I wasn't thinking of your situation specifically, I was just wondering why someone would produce a lora/wifi module, because either you have a sensor (in which case, why would you have wifi) or you'd have a gateway, in which case you can probably move it a few meters over to where the wired connections are.

    Unless there's another use-case I'm overlooking?

  • Ordered 10 x DS18B20 from China (due in a month or so by slow post) but cheap (under £5 inc P&P).

    Also ordered three DHT22's to check how accurate they are for temp/humidity monitoring.

    Plan is to have a DHT22 in each room (2 bedrooms, study, lounge, hall, kitchen, toilet, bathroom, communal hall, outside) and a DS18B20 ziptied to a radiator pipe in each room to monitor heating.

    Also looking for a 1-wire barometric pressure sensor, CO2 sensors for the bedrooms and a CO sensor for the kitchen.

    50m reel of alarm cable (and I can use the existing alarm cable in the flat to get to some of the rooms already) to bring it all back to a Raspberry Pi to do the data capture and logging.

    Will also look to get a photodiode sensor on the electricity meter blinkenlight (which apparently blinks as every thousandth of a unit is used). Wonder if gas meter does the same...?

    All for shits and giggles with total spend probably under £50 if I can keep it that way.

  • Will also look to get a photodiode sensor on the electricity meter blinkenlight (which apparently blinks as every thousandth of a unit is used). Wonder if gas meter does the same...?

    Coooool

  • Will you need pull up resistors to get the DS18B20 working reliably with the pi?

    Also, why not do it wirelessly? You can get a decent WiFi Dev board for less than a fiver now days. I know that's another £50 down but surely worth it for no cables?

  • I always wire them like this and that works a treat. I believe you can power OneWire devices off of the data line, but I never really got it to work and it wasn't worth the hassle for me.

  • Yes, pull up resistors required.

    I've already got 4-core alarm cable running to most rooms.

    I also don't want a whole bunch of wifi devices to have to manage.

  • I've got plenty of most values if you would like me to post you some.

  • Mine came like this, very neat if you've got the skills to solder those tiny resistors (I don't)


    1 Attachment

    • IMG_20191027_202119.jpg
  • Project central heating is back on....

  • Same, but wondered if any pin on rpi had built in pull-ups

  • Finally managed to get enough time to myself to set up the pi-hole.

    Seems to work.

    The OLED from AliExpress seems to be doing its job.

    It probably sounds stupid, but I'm still surprised by the size. If I'm honest, the OLED is so small I'm not sure how much use it'll be. If I'd thought about it the 128x64 may have been more sensible. The 2nd pic is from standing - just to convey the legibility.

    ... wondering if I can get it to display my DNS to make entering into other devices easier.


    2 Attachments

    • IMG_20191029_214457313.jpg
    • IMG_20191029_220550971.jpg
  • What are my options for attaching about 1TB of storage to a pi as a mini media server? Just go via the USB with a portable SSD or is there some clevererer way of doing it?

  • Assuming you're not serving up uncompressed blu-rays or high bitrate 4k video I'd just go USB. I wouldn't necessarily go with SSD unless it's a similar price to HDD.

  • Fair point, external HDD is a lot cheaper. Thanks.

  • Managed to get pivpn running to access Pihole on the go. Set it up using Wireguard which is just so much more streamlined than OpenVPN. Their iOS app is nice and easy to set up with just a qr code spat out of the command line. Open the relevant port on your router and boom.

  • Open the relevant port on your router and boom.

    Shudder. I just don't trust myself to patch any service well enough to open my firewall to anything.

  • Same, usually but even for VPN? It’s on port 5xxx so should be fine no?

    I’ve got fail2ban running as well just in case.

  • I've just ditched my pihole, and switched over to https://nextdns.io/ following a mention of it by VB.

    Quite liking it so far, and I think that I'll just slip under it's monthly limits. Free's up a pi v3 for something else (time lapse photos initially, but likely I'll switch it over to Octoprint for the Ender 3 Pro that I just picked up)

  • Does this not just mean an extra layer of visibility on your Internet traffic?

  • Changes who can see it really.

    The PiHole resolved it all to 1.1.1.1, having stripped out blocked traffic, this just changes who does that resolving and stripping step. You'll still have someone doing the resolving for you.

    I've just been and checked on my nextdns account, and I'm using far more than I had thought, like ~180,000 queries in 4 days (most to ubnt.com & nest.com).

    Looking at that, I'll be miles over their cap pretty fast, which isn't an issue at the second, and for $24 per year for not having to look after a pihole is kind of tempting. I'm also slightly tempted to run the pihole myself, with aggressive caching, and send queries through to nextdns to resolve as a second level of blocking. I'll have think about it a bit further now.

  • Any port that is open is an attack vector.

    I have no idea how real the risk is in reality, but i'm particularly risk averse.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Raspberry π

Posted by Avatar for photoben @photoben

Actions