Feed

  • JoeMac Sonoff 4CH 4 Channel Mains Control by JoeMac: No problem many thanks Peter. Oct 19, 20:26
  • Peter Scargill Sonoff 4CH 4 Channel Mains Control by Peter Scargill: I've not used the Sonoff with RF. Oct 19, 20:22
  • Sonoff 4CH 4 Channel Mains Control by JoeMac: Peter, can I ask for help I have a sonoff 4ch pro V1.1 2017-5-9 which I am trying to setup with an RF garage remote. If I follow the setup it accepts the remote and I get the 3 green flashes and the relay kicks in. However it will not store the setting any thoughts Oct 19, 19:49
  • Gordon Murray The Script Step By Step by Gordon Murray: Fixed it. Logged on as root used the CHOWN command to change ownership now it works Oct 19, 15:22
  • Peter Scargill PIVPN and PI-HOLE by Peter Scargill: Thanks for that info. I've not integrated the two yet but the plan is to route everything through PiHole at router level - right now it is optional while I check reliability. Just completed apt-get and npm updates and all is well. I have Voda fast broadband here in the UK and when I'm back in Spain in Spring, I want UK access without paying for a service, may as well have that extra protection as well. The PI is running the heating anyway so it may as well serve that extra function. Oct 19, 13:49
  • PIVPN and PI-HOLE by Fozzie: Hi all, @Peter: Thanks for a great resource on pi's and home automation πŸ™‚ New here but wanted to add my 2 cents, hope it's useful... I've been using pi3+pihole+pivpn for more than a year now. Worked flawslessly up to some time ago, more on that later. The reason for me was 2 ways. 1. I wanted my kids (and myself) to be able to use the vpn when using public wifi. 2. To access my home network (with just that one port forward). I installed pihole on a fresh raspbian install and after that pivpn. Then some tinkering to tell pivpn to use pihole as dns. This way the vpn traffic is also ad-filtered, specifically foor point 2 above. I'm not sure if this https://discourse.pi-hole.net/t/pihole-with-openvpn-the-easy-way-use-pivpn/7912 is the source I used then but it was the 1st as a result on searching pi3 + pivp + pihole and it seems familair πŸ™‚ I am able to set my pihole as dns in my ISP modem/router so that solves all for my home network. Not sure if other ISP's allow that. Not to tell anybody what to do but I donated to both, well deserved IMO. Also, I tried DietPi which has pivpn and pihole as optional installs. It looks great and have tinkered with it a lot but the promises made are not fullfilled, alas. Abandonded that... On YouTube https://youtu.be/gyatgrlqFtE is a description on using the pi with openvpn to route traffic through to a public VPN service. I have not tried this yet and also he does not use pivpn but openvpn install. Lots to learn though if you see the trickle of commands he gives πŸ™‚ Now to the current moment, it all aint workin' anymore πŸ™ At some point, probably after an update, I was no longer able to connect to the pi though pihole is still working. Tried lots of stuff, no success. I am working my way up to starting afresh, but it is a daunting task as I also have a lot of other stuff running on that pi... Rgeards, Fozzie Oct 19, 13:10
  • DrFragle and MrShark The Script Step By Step by DrFragle and MrShark: sudo chown -R pi.pi /home/pi/.node-red Oct 19, 11:34
  • Gordon Murray The Script Step By Step by Gordon Murray: Just had to reinstall the script on my Pi because the other became corrupt. All went well with the install but I am having problems adding to the pallet on Node Red it always fails saying I do not have permissions to write to the /home/PI npm WARN checkPermissions Missing write access to /home/pi/.node-red/node_modules/bcryptjs I assume its because I am logging in as pi and these only have root access Any ideas, anyone on how to fix this? The previous install did not have any issues when I last installed the script. Oct 19, 11:28
  • Peter Scargill DIN Rail Current and Voltage Meter by Peter Scargill: As you say more expensive - i.e. nearly 3 times the price. Personally at that level I'd be happier with WIFI or Bluetooth than modbus.. but that's just me. Oct 19, 09:27
  • DrFragle and MrShark DIN Rail Current and Voltage Meter by DrFragle and MrShark: how to use it with Node-Red, video by Csongor Varga: https://www.youtube.com/watch?v=yBtqKSWDn1Q Oct 19, 06:06
  • Ion Ciubotaru DIN Rail Current and Voltage Meter by Ion Ciubotaru: SDM630-Modbus for 3 phase or SDM120-Modbus for 1 phase are more expensive but more useful. It works with raspberry pi or esp8266 (Tasmota) Oct 19, 05:21
  • The New FriendlyARM K1 PLUS Board by essemable: Hi, actually I see only Android 7.0 image on the Wiki site and (as it was before) I could not install it on a microSD. Neither with Phoenix nor with Win32DiskImager. What could be the problem? Oct 18, 21:59
  • Balvenie FY6800 Signal Generator by Balvenie: The PC software is useless, too many mistakes entered values are not send exactly to the unit. Has some one tried to use it as an audio wobulator for 10Hz to 20 000Khz and up. I cant get frequencies under 500Hz when runing as a VCO I use it as a HF wobulator, for 10.7Mhz IF, the chanel 2 working as a control voltage for chanel 1 Oct 18, 13:24
  • FY6800 Signal Generator by balvenie: Hello I have a FeelElec FY6800 and I use it as a HF wobulator for 10.7Mhz tuners intermediate frequency circuits. I use a ramp from Chanel 2 to sweep chanel 1. I tried to do the same in AF from 10Hz to 30000Khz to draw audio band pass of power amplifier Unfortunately I cant have frequencies lower than 450Hz Hs someone tested ? Jean Pierre Oct 18, 13:11
  • Peter Scargill DIN Rail Current and Voltage Meter by Peter Scargill: Of course. Somewhat more expensive and definitely more DIY however. The board you've included the link to, Aidan and I discusssed yesterday and he's ordered one. All good stuff. Oct 18, 09:54
  • DrFragle and MrShark DIN Rail Current and Voltage Meter by DrFragle and MrShark: but it's useful only for immediate verification, no historical log... if something is consuming power while you're sleeping, you'll never know... take a look at the PZEM-004 and 004T, one is boxed and with displays, the other is naked... they use toroids and are very safe and reliable, from the reviews... easy integratable in nodered, as they use a serial protocol... https://www.youtube.com/watch?v=kKGO098SXGQ https://www.youtube.com/watch?v=qt32YT_1oH8 Oct 18, 09:13
  • DrFragle and MrShark The Death of S6D02A1 Displays? by DrFragle and MrShark: towards the end of this page: https://github.com/notro/fbtft/wiki/LCD-Modules "The version from eBay offers three different driver IS's,S6D02A1 / HX8353 / ST7735. 2 separate items from 2 different sellers (on different sites) both run using the HX8353." so maybe you can look for a HX8353 raspberry lib Oct 18, 08:36
  • Peter Scargill The Death of S6D02A1 Displays? by Peter Scargill: Check the blog update - I can shorten the links by using my own link generator. Oct 18, 07:35
  • The Death of S6D02A1 Displays? by Squonk42: Hi Pete, I found that you can shorten the Aliexpress product links by removing all charaters after and including the question mark. You can also replace further the description after "/item/" and up to the SKU by whatever you like too,. Oct 18, 04:45
  • DrFragle and MrShark USB Soldering Iron TS100 by DrFragle and MrShark: successfully flashed, info in the issue i opened! https://github.com/Ralim/ts100/issues/377 Oct 17, 16:54
  • DrFragle and MrShark ESP32 First Steps by DrFragle and MrShark: anyway, the solder iron is fine using a laptop psu 19.5V 2.35A... but the conical tip is just USELESS, i need a chisel shaped one... tips ts-bc2 and ts-d24 are better, for me... Oct 17, 16:38
  • DrFragle and MrShark ESP32 First Steps by DrFragle and MrShark: official expressif SDK for alexa on esp32: https://www.espressif.com/en/news/Alexa%20on%20ESP32 Oct 17, 15:52
  • DrFragle and MrShark USB Soldering Iron TS100 by DrFragle and MrShark: same here, opened an issue... https://github.com/Ralim/ts100/issues/377 Oct 17, 14:56
  • DrFragle and MrShark The Death of S6D02A1 Displays? by DrFragle and MrShark: you're sure it's the same? I remember a similar model a while ago, and had a different chipset... because of this type, if i search for "tft 128x160" i can find A LOT of them, and even cheaper (1€ less): https://it.aliexpress.com/wholesale?catId=0&initiative_id=SB_20181017060321&SearchText=tft+128x160 no markings on board, how to be sure it's correct? Oct 17, 14:05
  • Peter Scargill The Death of S6D02A1 Displays? by Peter Scargill: Well done - I don't know how I missed that one and I DID check AliExpress.. Oct 17, 13:14
  • Allan Mitchell The Death of S6D02A1 Displays? by Allan Mitchell: I bought these from Aliexpress in 2016 and the link is still active to buy @Β£3.16 .. https://bit.ly/2AehySg Allan Oct 17, 10:13
  • Arduino STM32 by PuceBaboon: There's a fairly recent update from Frederic Pillon (who promised Skquonk that he'd have a look at it) at:- https://github.com/stm32duino/Arduino_Core_STM32/issues?utf8=%E2%9C%93&q=i2c+slave He noted that the fix he'd put in had generated some compiler warnings. The follow-up on that was that adding a cast should get rid of the warnings without adversely affecting the integrity of the build. So the status was changed to "fixed" 5 days ago and the change should be incorporated into the 1.4.0 release. Oct 17, 05:03
  • Bob Green FriendlyArm NanoPi M4 by Bob Green: Here's the latest Just a couple of months ago FriendlyElec introduced the NanoPi M4, which was then the smallest, most affordable Rockchip RK3399 based SBC yet. But now they have launched a $45, Rockchip RK3399 based NanoPi Neo4 SBC with a 60 x 45mm footprint, WiFi/BT, GbE, USB 3.0, HDMI 2.0, MIPI-CSI, a 40-pin header, and -20 to 70℃ support β€” but only 1GB of RAM. Oct 15, 15:15
  • Victor50 The Sonoff 4CH Pro by Victor50: Hi, I just bought one 4CH Pro rev2 and had a look at the manual(s). It says you need two relais if you want to steer a motor. I would think this makes sense if you have a three phase motor or one that is over 10a. I don't understand why you should do this for a simple ventilator using 50 - 100 Watt. Can't find any further info on this. Oct 15, 14:57
  • The Sonoff 4CH Pro by Victor50: Maybe a double posting but it didn't appear and I didn't see a message it is awaiting moderation. Hi, I just bought one 4CH Pro rev2 and had a look at the manual(s). It says you need two switches if you want to steer a motor. I would think this makes sense if you have a three phase motor or one that is over 10a. I don't understand why you should do this for a simple ventilator using 50 - 100 Watt. Can't find any further info on this. Oct 15, 14:49
  • DPH5005 Power Supply by Bert: Thermoswitch link for my above post: https://www.aliexpress.com/item/5Pcs-lot-105C-Degree-Celsius-221F-NO-Normal-Open-Thermostat-Thermal-Protector-Thermostat-temperature-control-switch/32368291387.html?spm=a2g0s.9042311.0.0.2cc84c4dvhccYC Oct 14, 20:45
  • DPH5005 Power Supply by Bert: 1N4007 is fine for the fan to reduce noise. I followed another approach, which is a little more work but the fan is silent until the internal heatsink gets above 45C. I ordered a NO thermal switch and it controls the case fan. The metal switch body should be kept electrically isolated from the heatsink as it would otherwise be shorted to gnd or 5V. I used a piece of thermal isolating pad and a plastic strip to hold the thermal switch between the 2 transistors. Oct 14, 20:17
  • DrFragle and MrShark PIVPN and PI-HOLE by DrFragle and MrShark: https://learn.adafruit.com/pi-hole-ad-blocker-with-pi-zero-w/install-pioled here you can find a python script to display stats onto an oled display connected to the PI Oct 14, 19:23
  • Loic74 PIVPN and PI-HOLE by Loic74: Ah, nice one. Integrated it in no time in my favourite Home Automation system (Jeedom) And I see there are also API functions to enable/disable the service through HTTP calls Oct 13, 22:29
  • DrFragle and MrShark PIVPN and PI-HOLE by DrFragle and MrShark: from this url you can get a json statistics you can display on an oled, for example: http://IP/admin/api.php?summary Oct 13, 16:46
  • DrFragle and MrShark PIVPN and PI-HOLE by DrFragle and MrShark: Hi just tried on a raspi 3b+ with latest raspbian stretch: flawless victory, no problems at all... i run setup and the only option i deselected was the last one, about logging queries, as searching yesterday evening i've found some suggesting this could have been the problem of what's happening to Peter's setup... other then this, i installed lighttpd as i ran all of this on the rpi i'm using for docker, so no other services at all, pretty virgin... and don't think that using an other http server could cause problems, that's used only for admin interface... os, try rerunning setup deselecting that option, i think this sw is a must and seems to work fine πŸ™‚ Oct 13, 16:35
  • DPH5005 Power Supply by Henry: Newby question, can I use 1N4007 diodes instead of 1N4001? Oct 13, 15:51
  • DPH5005 Power Supply by Henry: Hello, just received my dph5005 and noticed the case fan is loud to the point that it is driving me insane. Looks like I'll have to use 2 diodes... Oct 13, 15:23
  • Peter Scargill PIVPN and PI-HOLE by Peter Scargill: On second attempt, I told it about Google DnS - made no difference... I've sent my install debug log off to them as requested (I joined the pihole forum). Oct 12, 23:01
  • DrFragle and MrShark PIVPN and PI-HOLE by DrFragle and MrShark: i'll install on same rpi3+ with stretch tomorrow and see how to solve... too tired now to focus on this, out for work for 11 hours... p.s.: you can show statistics on oled, too πŸ˜‰ Oct 12, 21:22
  • Peter Scargill PIVPN and PI-HOLE by Peter Scargill: Well, in my case it has to run on the Pi or it is out of a job πŸ™‚ Oct 12, 21:03
  • Loic74 PIVPN and PI-HOLE by Loic74: I ran into the FTL issue as well on my first attempts on an RPI3+Stretch setup. Eventually I installed PiHole onto a fresh Debian9 install on a VM and it ran straight away. Oct 12, 20:52
  • Peter Scargill PIVPN and PI-HOLE by Peter Scargill: Ideas guys.. I installed PIHOLE - I have nginx so didnt need a webserver. I told it my DNS is the address of my router as that is the only thing that has the actual dns provider. The admin page is up.... but I'm getting "lost connection to API" across the coloured panels and the dns service is apparently not running. Also the FTL service whatever that is, is not running, so it says. Oct 12, 20:38
  • Loic74 PIVPN and PI-HOLE by Loic74: Haha, maybe my expression "point my PiHole " wasn't most appropriate. Oct 12, 20:31
  • Peter Scargill PIVPN and PI-HOLE by Peter Scargill: Ok, admin panel is running, but it says the DNS service s not running.. across the 4 boxes it says lost connection to API... Oct 12, 20:27
  • Peter Scargill PIVPN and PI-HOLE by Peter Scargill: Its griping about BC not being found, but installing anyway. Asking me which DNS provider I'm using. The PI is using my router. The router is the only devide that knows the real DNS provider... so I've put "custom" and now it wants the address so I guess I'll put my router address Oct 12, 20:20
  • Peter Scargill PIVPN and PI-HOLE by Peter Scargill: Trying it now... Oct 12, 20:14
  • DrFragle and MrShark PIVPN and PI-HOLE by DrFragle and MrShark: in the article about pi-hole on orange pi, you'll find 1 way to use it: by just changing your pc's DNS to the ip of the pi-hole server... this way you're not passing all your traffic through the pi-hole server, but just filtering out ads via dns... otherwise you can use the pi-hole server as your gateway, and all traffic will go through it... Oct 12, 20:13
  • DrFragle and MrShark PIVPN and PI-HOLE by DrFragle and MrShark: well, i was going to watch some tv series, now i'm here ready to comment, after watching latest Peter's video on youtube πŸ˜€ Oct 12, 20:08
  • DrFragle and MrShark PIVPN and PI-HOLE by DrFragle and MrShark: it's a one-liner, exactly as per pivpn: curl -sSL https://install.pi-hole.net | bash example for orange pi: http://www.devacron.com/orangepi-zero-as-an-ad-block-server-with-pi-hole/ Oct 12, 20:05
  • Peter Scargill PIVPN and PI-HOLE by Peter Scargill: Ok, you have my interest, depending on how easy Pi-Hole is to install or otherwise. Oct 12, 20:03
  • Peter Scargill PIVPN and PI-HOLE by Peter Scargill: Yup Oct 12, 20:01
  • DrFragle and MrShark DANIU A99 2MP USB/microUSB Boroscope by DrFragle and MrShark: on my phone i installed the app "ip webcam", which is useful for transmitting what you're recording remotely via phone ip... if i plug the microscope into the microusb port, it automatically pop ups asking to open ip webcam, so it's very easy... very useful for inspecting pcb after soldering, or attached to a third hand while you're soldering, directly Oct 12, 20:01
  • PIVPN and PI-HOLE by AcmeUK: Don't you love it when someone introduces you to something you never knew existed! Oct 12, 19:58
  • DrFragle and MrShark DANIU A99 2MP USB/microUSB Boroscope by DrFragle and MrShark: i always carry in my pocket 1 of these, just for these use cases... dirt cheap... https://it.aliexpress.com/item/Tipo-c-Otg-Adattatore-Micro-Usb-A-Tipo-C-Caricatore-Connettori-per-Samsung-Galaxy-S8-S9/32902995939.html Oct 12, 19:58
  • DrFragle and MrShark PIVPN and PI-HOLE by DrFragle and MrShark: it's very useful for filtering out those banners, ads, malware, too... and i think it can work on those boards with just 256mb, too, so finally some use for them... but my deviated mind thinks to other stuff when reading "pi hole", lol Oct 12, 19:51
  • Loic74 PIVPN and PI-HOLE by Loic74: It's a great app to filter out ads at the local network level while surfing the net. Scary how much it filters out every minute.. I also point my PiHole to a kids-friendly DNS provider+ used the trick below to enforce google-safesearch on all devices connected to the local network. Quite efficient for content-filtering for the kids: https://discourse.pi-hole.net/t/use-dns-to-force-youtube-into-restricted-mode-and-pi-hole/1996 Oct 12, 19:49
  • Peter Scargill PIVPN and PI-HOLE by Peter Scargill: Pi-Hole - I wasn't aware of that. Looks useful - thanks. Oct 12, 19:32
  • Peter Scargill PIVPN and PI-HOLE by Peter Scargill: I did move off the standard port. Thanks anyway. Oct 12, 19:27
  • Loic74 PIVPN and PI-HOLE by Loic74: Thanks a lot, it worked like a charm on my side. I also used the article below to guide me into getting PiVPN and PiHole working hand in hand: https://marcstan.net/blog/2017/06/25/PiVPN-and-Pi-hole/ Oct 12, 18:43
  • Garry Hayne PIVPN and PI-HOLE by Garry Hayne: πŸ™‚ I would recommend NOT using the default port (1194), which will improve security a little. Oct 12, 18:11
  • Garry Hayne DANIU A99 2MP USB/microUSB Boroscope by Garry Hayne: IP67 is 1m water for 30 minutes resistance. You can check around the bend in the bog πŸ™‚ Oct 12, 18:07
  • PIVPN and PI-HOLE by mario witdoek: hi peter, check softether vpn out! it is great. I have on my NUC at home a softether server docker image and multiple pi clients with softether client on. Works likes a charm! oh yeah, KUTGW :p Mario Oct 12, 17:30
  • Peter Scargill PIVPN and PI-HOLE by Peter Scargill: Hah, I did exactly the same thing and had exactly the same heart-stopping moment, Gary. Oct 12, 17:01
  • Garry Hayne PIVPN and PI-HOLE by Garry Hayne: Well that was extremely easy Pete, apart from me assigning port forwarding on the router and forgetting to enable it! Caused a blood pressure F#+@ moment! Oct 12, 14:33
  • John Easy Backups and Webmin by John: Hi can anyone help with "permission denied" when using this rsync script. I have rebuilt the destination PI with the recent script and tried root access but nothing works. Oct 12, 09:56
  • FriendlyArm NanoPi M4 by vipernet: Does Chromium HW Acceleration work? Could you pls. post the output of "chrome://gpu" when starting chromium-browser normally and with options --ignore-gpu-blacklist --use-gl=egl? Bests Oct 12, 06:35
  • FriendlyArm NanoPi M4 by vipernet: Does Chromium HW Acceleration work properly? Could you pls. post the output of "chrome://gpu" when starting chromium-browser normally and with options --ignore-gpu-blacklist --use-gl=egl? Bests Oct 12, 06:34
  • Steve Menheere PIVPN and PI-HOLE by Steve Menheere: I've seen and used a few things like this in the past. Invariably they soon switch to a paid model hoping that the seamless experience will be enough to get the users to start paying. An open source system on your own hardware is going to be more reliable and cheaper in the long run. Oct 12, 02:19
  • PIVPN and PI-HOLE by P Cat: Yes agreed, but you could say the same about whichever dynamic DNS service you're using - really don't want to pay more for static WAN IPs! Testing from a friend's house in the UK seems fine, I can SSH or web browse to home devices from my laptop using their individual 10.147.1.x addresses. I'll give it a better try when I go away. I was speculating this morning, as it's effectively layer 2 device-to-remote-device, could I join them both to a second Zerotier network and cause an old-fashioned broadcast storm? I assume Zerotier have some equivalent of spanning-tree protocol built into the clients. (hands up if you remember the days of LAN broadcast storms) Oct 11, 12:47
  • DrFragle and MrShark PIVPN and PI-HOLE by DrFragle and MrShark: but so you're relying on an external service... if central zerotier server is unreachable, you're f...ed up... Oct 11, 09:19
  • PIVPN and PI-HOLE by P Cat: Definitely no ports open, I've probed our WAN address with various tests. The encrypted tunnel is originated by the local clients at each end, initially to a central Zerotier server. The firewalls see the tunnel setup as originating from the "inside", so no open ports needed. Also no need for dynamic DNS, as the clients send their WAN addresses during setup. When we changed to fibre broadband in Greece, I was surprised to find the COSMOTE fibre network is all IPv6 up to the router, with 4 in 6 tunnelling - a benefit of being a late adopter, but more hassle to set up dynamic DNS. I can't give it a full workout until our next visit, will report back. Oct 11, 09:08
  • Peter Scargill PIVPN and PI-HOLE by Peter Scargill: PIVPN gives clients a local address... Oct 10, 22:42
  • Peter Scargill PIVPN and PI-HOLE by Peter Scargill: It must be talking over SOME port... Oct 10, 22:40
  • PIVPN and PI-HOLE by P cat: Hi Pete, we live our lives in a similar manner, homes in 2 countries with various RasPis etc online at both ends. We use Nord VPN for iplayer etc, but I really don't want to leave any router ports open. I've been experimenting with the free version of ZeroTier, which creates an encrypted virtual layer 2/3 link across the internet. A bit more complicated to install, but it means each device can have a tunnel address on the same subnet, 10.144.1.0/24 for me. The secure central admin page can add/delete devices as you want. Works fine between home and a mobile device, will report back on distant use in a month or so..... Oct 10, 19:27
  • Roseapple Pi and Wiring Nirvana by sergio: hi. I confirm that wiring-pi node and wiringpi package are in conflict and nothing has changed since 2017. I had to remove wiring-pi and not to use node-red function node (and btw recompile wiringpi) what a pity! Oct 10, 15:03
  • Peter Scargill PIVPN and PI-HOLE by Peter Scargill: Any time... Oct 10, 13:02
  • Garry Hayne PIVPN and PI-HOLE by Garry Hayne: And a big thank you for deciding what I spend today doing πŸ™‚ Oct 10, 11:28
  • Garry Hayne PIVPN and PI-HOLE by Garry Hayne: Very interesting Pete, it might be worth posting the link on the node red forum as well, a LOT of people are having problems with malware due to exposing their instances insecurely to the Internet. Oct 10, 10:21
  • Michael Kemper PIVPN and PI-HOLE by Michael Kemper: I'm a fan of it as well! It's nice that you can edit the "client" ovpn file if you need to (if you change a router port, IP, etc). Android and iPad OpenVPN Connect apps work great and I use Tunnelblick on OS X. Oct 9, 22:35
  • Brian Orpin PIVPN and PI-HOLE by Brian Orpin: > I put the OpenVPN β€œclient” in my router Can you expand please Peter? Oct 9, 11:08
  • Jerry Barnett Web servers and SQLITE Editors Rethink by Jerry Barnett: Thanks for the info. However, the information provided by DrFragle and MrShark, on installing the PHP module worked for me. sudo apt-get install php7-sqlite3 although I just used the general install to pull in the latest repository sudo apt-get install php-sqlite3 Oct 9, 10:41
  • Bob Green Web servers and SQLITE Editors Rethink by Bob Green: Antonio, thanks for the help and advice. Using winSCP I copied the extracted file to /home/pi and then used the sudo mv command to move it to /var/www/html. I had previously used the two sudo commands to change the access permissions. I am not running 'headless' at the moment so I made the changes direct using ubuntu terminal. I learn a little more about linux each day. Oct 8, 21:42
  • Bob Green Web servers and SQLITE Editors Rethink by Bob Green: Hi Jerry, I got that same message about SQLite not installed but then a little drop down menu box appeared on the mywebsql log on screen that let me select the SQLite3 database. From then on it worked. I think you can alter the server config file so that only SQLite3 can be selected. I also noticed on Peter's screen shots that he is logged on as 'root' not 'pi'. Oct 8, 21:37
  • DrFragle and MrShark Web servers and SQLITE Editors Rethink by DrFragle and MrShark: copy via winscp into your home directory, then move via putty from there into the html folder, or try: sudo adduser pi www-data && sudo chmod g+rwx /var/www/html and retry via winscp, basic file and folder management in linux, tons of guides online... Oct 8, 14:55
  • Bob Green Web servers and SQLITE Editors Rethink by Bob Green: Hi Peter, i hope you can help! Regarding the MyWebSQL, " page was helpful" does indeed take one to the web page and download for that product but the "Link" appears to take one to Db browser for SQLite, so not the correct software I assume. From the MyWebSQL site I downloaded the zip and extracted it and tried to install it in the var/www/html folder on my ubuntu 16.04 set up on a dual boot PC. I had previously installed your script which worked fine apart from issues with Node-RED which were resolved following post from you and Antonio. However when I tried to move the MyWebSQL folder from my windows download directory to my ubuntu set up using winSCP it failed saying access denied. I then tried mobaXterm, that crashed into an endless loop and could only be shutdown with task manager, so there is a bug in that software. My var/www/html file is in the root directory and that is why winSCP failed so I wondered, do you have winSCP or mobaXterm set to allow access to the root directory, if so could you tell me how that is done please. to the best of my knowledge everything was set up under ubuntu as per the 'script' Oct 8, 12:28
  • Big Timer by Woody: Hi Pete Thanks for the deep explanations and all you articles. I'm trying to use the bigtimer to turn on a lamp 15mins before sunset and only if I'm at home and if lamp is off. So I set bigtimer On Offset to -15 and the Off Offset to 10. What I would like to do is to have the lamp to be turned on only the first time all conditions (timing, presence and lamp off) are ok. If, for example, the lamp was turned on by the flow and then turned off and time is still in between the range and I'm at home, I don't want the flow to turn it on again. Do you thing it is possible? Thanks Woody Oct 8, 08:15
  • Peter Scargill NO.1 G8 MT2502 Blood Pressure Heart Rate Monitor Smart Watch by Peter Scargill: Not tested yet and probably an educated guess based on sensors. I have used blood pressure monitoring kit and it won't be as good but then there is a price difference. My doctor says they take two readings and ignore the first so even pro kit can get invalid readings due to stress etc. Oct 8, 07:08
  • NO.1 G8 MT2502 Blood Pressure Heart Rate Monitor Smart Watch by Michael Arzberger: I wonder how they want to measure blood pressure. This is not an easy thing that can be done with a couple of cheap opto sensors / leds, like for heart rate or blood gases. If you ever had one of those long term blood pressure monitor nuisance machines fitted to your arm, pumping up every 20 minutes, you know "state of the art" sensors for this. I bet this is either complete nonsense (with no sensors) or some educated guessing derived from heart rate. Did you test this Pete? Oct 8, 06:26
  • Big Timer by Francesc: Hi Pete, I been using for a long time your node and want to thank you for your dedication. Have one question and one plead for help for you... a) I am trying to change the payloads to X and Y instead of 1 and 0 but I keep having just numbers on debug... is it possible to do? b)I just want you to ask for advice of this requirement since you know a couple of things about timers... I need to have intervals of 8 and 4 hours - inside this intervals I need to be running on and off loops . Inside the 8 hour interval need to be running 5 min and resting for 10 in a loop. and in the 4 hour interval need to run 10 minutes and rest for 30min. Can you help me on the way to start to achieve this?... I tried some dirty chain of delays but it didn t work ... and I am not sure if this is the best approach... do you have any sugestion on the easy way to do this or example to share with me or whatever light? Thank you again πŸ™‚ Oct 7, 19:58
  • Peter Scargill H96 Max Plus USB 3 TV Box by Peter Scargill: Not "any" of the TV boxes. I've played with lots of them - most have old versions of Android, many are not rooted, some have screen overscan issues with no simple utilities to fix, etc. Not all of us have the time, skill or desire to mess with operating systems. I've done my share but for TV boxes I want a recent Android (in the knowledge that updates are unlikely), most if not everything working and decent ROM/RAM - so I can spend more of my limited leisure time watching shows (after installing god knows how many packages for the different services) in jitter-free decent quality - and of course at low cost as this will not be the only device attached to the TV. For Debian etc I'm happy to do more and have done but again it would be better use of my time developing or modifying actual programs than re-inventing the wheel in operating systems. I've been through many different boards and, well, we'll not open up the backup discussion again but the PI 2 and 3 are quite easy in that respect. I continue to watch and revisit Armbian, checking for new developments. Oct 7, 12:33
  • H96 Max Plus USB 3 TV Box by tkaiser: Sure, if you want to run Android then choose any of those TV boxes from vendors who get the Google stuff licensed (according to Libre Computer Google simply doesn't do this with SBC vendors any more: https://libre.computer/2018/09/27/android-release-for-tritium-and-le-potato/) If you want to run Linux better spend the additional 5 bucks for a development board instead of a TV box since here you know the board vendor cares about hardware compatibility unlike TV box vendors who create new batches of boxes with same name and same written 'specs' but entirely different inside. And if you want Linux with more than 1 GB you need to choose something else than RPi since the VideoCore IV design all RPi rely on is not capable of dealing with more RAM. The 1 GB are already an ugly hack according to Kristina Brooks who tried to developed an open source 'firmware' for the Raspberries before she gave up: https://irclog.whitequark.org/linux-sunxi/2017-04-02#19158500; Oct 7, 11:12
  • Peter Scargill H96 Max Plus USB 3 TV Box by Peter Scargill: Well I for one am happy to continue to use this box for TV. I am also happy with Pi3 for Raspbian but I really wish they would give it some more RAM. Oct 7, 08:02
  • DrFragle and MrShark The Script by DrFragle and MrShark: it isn't supported by Peter's script, as none of the sbc has something different from debian stretch or ubuntu xenial, so why adapting the script to something that very few will use? You can use it on newer ubuntu, but you're on your own with all the problems you'll find, don't ask for help... i don't plan to port it on 18.04 in the near future, or ever... because i see docker as the future of this... and when my docker setup will be usable, there will be no differences as containers ignore the underlying OS, so you'll be able to run docker on 18.04, too... Oct 7, 07:41
  • The Script by Andrew: Thanks. 16.04.............. Drats. I started with 17.01 when I got the NUC. I know it isn't too difficult to get the older version. Ok, that is a whole new can of worms with which to deal. I don't get why 18.04 isn't "supported"? You mean for the build on which it is built? Oct 7, 07:12
  • DrFragle and MrShark The Script by DrFragle and MrShark: when i use an ubuntu vm for this stuff, i always create a "pi" user just during setup, so it's already there when i run the script... as script was originally meant for raspberry, default user "pi", it works ONLY with that user, unfortunately... otherwise, do as such if you already installed and have a different user: sudo -s -H # give YOUR ACTUAL USER password at step above... after that, you ARE root # start from here running the usual setup cd && wget --no-check-certificate https://bitbucket.org/api/2.0/snippets/scargill/ekon6o/master/files/script.sh bash script.sh # after it created the user pi, logout and login with that user, or do: su - pi bash script.sh or just reinstall ubuntu creating a pi user during setup, as i said... DON'T use ubuntu 18.04, only 16.04 is supported... Oct 7, 06:56
  • DrFragle and MrShark The Script by DrFragle and MrShark: for unknown reasons, some nodes change owner from time to time, or you used sudo when it was not supposed to use it, so the nodes were then owned by root instead of you... as it happens to me, too, i've added that line to my full system update script a lot of time ago, so i've not to think to it every time... it updates system and nodes, automatically: https://gist.github.com/fragolinux/412aa50683eb32bb879a120c73110938 (remove last 4 lines if you don't use homeassistant) Oct 7, 06:47
  • Village idiot The Script by Village idiot: Hi folks. I have been told to get my system as Peter's so I can run his flows and see what they are like on MY machine. To do this I believe I have to run the script mentioned way up near the top of this. (for clarity) wget --no-check-certificate https://bitbucket.org/api/2.0/snippets/scargill/ekon6o/master/files/script.sh Ok. There are things in there about if it is running on a PI. Though I have a lot of Pi's, for now I want to get it working on a bigger machine. (x86 NUC) So I have the script. Reading it.... yeah, ok. A bit above me. I am running/installing the stuff on a VM running Ubuntu. Not Raspbian, and there is no PI user. Reading in the script I see: IMPORTANT:- ## 1. Run ONLY as ROOT (or PI user on Raspberry Pi). If ROOT, PI user will be checked/created for you as the main ## script must be run as pi. ## User PI must be in the SUDO group. Other groups are added by the script. Then a few lines down I see: 6. Do not access this script as SUDO. I'm lost. And if I am not installing it on a PI, I am at a loss how to do it. I am trying to get Peter's "base line" of what he has installed, so I can see what the stuff looks like, but am just not "getting it" with the instructions as they are. Thanks in advance. Oct 7, 01:24
  • H96 Max Plus USB 3 TV Box by tkaiser: If it's about running Linux: I don't think so. TV boxes are meant to have random hardware inside and only the Android on the internal flash memory is prepared to deal with this. If you need to run Linux the problem is not Linux but exchanged hardware parts that need an adjusted bootloader for any other OS running other than the adjusted Android on the internal flash storage. Another 'nice' example: https://forum.armbian.com/topic/4877-h2-sunvell-r69-android-tv-box-aliexpress/?page=8 If you think about Linux and TV boxes always have in mind that a new batch of a box that looks the same, is called the same and smells the same is something entirely different. But hey, at least it's your wasted money and time πŸ™‚ Oct 6, 21:56
  • Brian Gentles Owon B35T+ Meter Revisit by Brian Gentles: Hello Pete Owon meter true rms bluetooth OW18B Datalogger with text to voice anyone interested in German store 29,95euro https://www.pollin.de/p/true-rms-bluetooth-multimeter-owon-ow18b-830830 Oct 6, 21:19