Feed

  • BigTimer by Thomas: Hi Peter, I’m using BigTimer since a while and it is really helpful to control things. Your work is amazing! I have one change request. I created a flow to override the on / off values enabling other people in the household to change values via the dashboard. This works perfect for the On Time and Off Time with on_override / off_override. But I’m also using On Time2 and Off Time2 as I control a lamp for my chickens in the morning and evening. I would like to recommend to create an on2_override and off2_override to be able to override the second timer as well. Your feedback is highly appreciated Best regards Thomas Dec 4, 19:22
  • The Ridiculous Windows 11 “Show More Options” and How To Bypass by Paul Richardson: Mine is Windows 11 home 22H2 Dec 4, 18:33
  • Peter Scargill The Ridiculous Windows 11 “Show More Options” and How To Bypass by Peter Scargill: I should have been clearer – mine is very much up to date Windows 11 Pro 64-bit edition. I’ll fix that. Ta. Clearly the fellow in the YouTube video had the same issue as me. Dec 4, 17:52
  • The Ridiculous Windows 11 “Show More Options” and How To Bypass by Paul Richardson: My windows 11 must be different to yours, I get a line of Icons across the top offering:- cut, copy, rename, share and delete. Dec 4, 17:33
  • H801 LED RGBWW Strip Controller + 4-relay ESP8266 Board by Tom: Does anyone have the schematics oft the H801? Dec 1, 14:11
  • Peter Scargill Tasmota and Node-Red Long-Term by Peter Scargill: OK I’ll keep looking in. Nov 30, 11:03
  • Tasmota and Node-Red Long-Term by rainer: I’m not so pessimistic about the node-red dashboard, because: the new version is in the works ( https://flows.nodered.org/node/@flowfuse/node-red-dashboard ) Reason “The Node-RED Dashboard has served us well for many years and provides an intuitive way to create live dashboards for Node-RED flows. However, the original dashboard is based on Angular v1, which is no longer actively maintained. We recognized the need for a secure, updated and innovative successor. That’s why we embarked on this journey.” the state of play: https://dashboard.flowfuse.com/user/migration.html Nov 30, 09:10
  • BigTimer by Tim H: Did you ever get to the bottom of this Kevin? I came here looking to see if I could figure this out, I see the same about ~50 second delay before BigTimer fires. Nov 30, 03:11
  • Peter Scargill Sonoff NSPANEL – I STILL like It – Update by Peter Scargill: English language blog please. Nov 29, 23:03
  • Sonoff NSPANEL – I STILL like It – Update by You: Pero nodered-contrib-ewelink ha dejado de funcionar Nov 29, 22:06
  • Peter Scargill Sonoff SNZB-02D Zigbee LCD Smart Temperature & Humidity Sensor by Peter Scargill: I’ve not used the NSPanel Pro’s “thermostat” at all. Way to simple to be used as a real-world thermostat. Nov 24, 23:36
  • Peter Scargill Sonoff iPlug S60TPG UK Smart Plug by Peter Scargill: Not yet. Give it time ๐Ÿ™‚ Nov 23, 14:38
  • Sonoff iPlug S60TPG UK Smart Plug by Dale Jefferson: Have you tried Tasmota on this yet? Nov 23, 11:18
  • Janos Fazekas Sonoff SNZB-02D Zigbee LCD Smart Temperature & Humidity Sensor by Janos Fazekas: Hi Pete, I have an Nspanel Pro with an SNZB-02D temp sensor, it pairs fine and reports data. However it is not possible to set the sensor as a thermostat, it simply does not show up in the ewelink app. Sonoff told me it is not possible to use it as a thermostat but in your video I can see that is possible. https://www.youtube.com/watch?v=5j71aaj3adg So, could you please tell me what is the way you did? Thanks a million, Janos Nov 22, 19:48
  • Peter Scargill ChatGPT BooBoos (guest appearance from Bard) by Peter Scargill: Ok and thanks for the great feedback gentlemen… DID YOU WATCH THE LAUNCH??? Nov 18, 19:05
  • ChatGPT BooBoos (guest appearance from Bard) by Michael Mauch: Maybe someone has found a great place to store their acorns: https://www.youtube.com/watch?v=cZkAP-CQlhA I’m not a ChatGPT guru, but I agree with Dave: tell the AI what it did wrong or what is missing, don’t start with a fresh command each time. Nov 18, 17:18
  • Peter Scargill ChatGPT BooBoos (guest appearance from Bard) by Peter Scargill: Not gone off teh boil with this – but strangely, my checking for internet connection has coincided with the worst 4G connectivity I’ve ever had. I’ve tested 2 different 4g routers, 2 different accounts with different companies and running Speedtest from the routers themselves to remove any doubts about my PC (hadrwired) connectivity… I’m getting pings as high as 600ms, effectively reducing my 4G speed from 100-150Mbps download, to almost zero at times – day 3 and counting. Nov 18, 11:56
  • ChatGPT BooBoos (guest appearance from Bard) by Doug: Even though things aren’t always working the way we expect, us rookie developers can learn a few new tricks from the stuff these AIs return to us. The silver lining point of view… Nov 15, 17:18
  • Peter Scargill ChatGPT BooBoos (guest appearance from Bard) by Peter Scargill: Hi Doug Your last response.. you used “write a python script to test if my internet connection is active every 5 minutes and return a result only if there is no internet connection” Well, I tried that identical request – copied from yours.. – assuming we’re talking chatGPT… “Certainly! You can use the requests library in Python to perform a simple HTTP request to a reliable server (e.g., Google’s DNS server) to check for internet connectivity. Here’s a Python script that tests your internet connection every 5 minutes and prints a result only if there is no internet connection:” It just so happens my RPi has requests installed already… here’s what it came up with for ME… import requests import time def check_internet_connection(): try: # Try making a request to Google’s DNS server (8.8.8.8) response = requests.get(“http://8.8.8.8”, timeout=5) response.raise_for_status() # Raise an error for HTTP errors (4xx, 5xx) except requests.RequestException: print(“No internet connection.”) return False else: return True if __name__ == “__main__”: # Run the check_internet_connection function every 5 minutes while True: check_result = check_internet_connection() if not check_result: # Perform additional actions if there is no internet connection # For example, you can send a notification, log the event, etc. print(“Performing additional actions for no internet connection.”) time.sleep(300) # Sleep for 5 minutes (300 seconds) So I ran it and … python3 goog3.py No internet connection. Performing additional actions for no internet connection. Unfortunately for chatGPT there WAS and IS a connection – to be sure I immediately did THIS. ping google.com PING google.com (142.250.185.14) 56(84) bytes of data. 64 bytes from mad41s11-in-f14.1e100.net (142.250.185.14): icmp_seq=1 ttl=118 time=816 ms 64 bytes from mad41s11-in-f14.1e100.net (142.250.185.14): icmp_seq=2 ttl=118 time=1043 ms 64 bytes from mad41s11-in-f14.1e100.net (142.250.185.14): icmp_seq=3 ttl=118 time=1629 ms 64 bytes from mad41s11-in-f14.1e100.net (142.250.185.14): icmp_seq=4 ttl=118 time=742 ms 64 bytes from mad41s11-in-f14.1e100.net (142.250.185.14): icmp_seq=5 ttl=118 time=2030 ms Some day maybe ๐Ÿ™‚ Nov 15, 17:05
  • Peter Scargill ChatGPT BooBoos (guest appearance from Bard) by Peter Scargill: See my reply to you. If I put it right here we endup in a spiraling narrow page. So it’s at the end ๐Ÿ™‚ Nov 15, 16:58
  • ChatGPT BooBoos (guest appearance from Bard) by Doug: I once had a chatGPT helper script which let me pick the resolution of the response(accuracy) but didn’t see that kind of setting for Bard. It might help congeal to a more similar response. Regarding the echoing of the pinging, ya that’s a side effect and even asking the question stating to only provide the result when there is no connection failed to do so. I added ” > /dev/null” to the ping command to get the intended result of only a result upon failure. Instead of asking it to use my idea of checking for the internet connection(ping google.com), I tried asking it just that: โ€œwrite a python script to test if my internet connection is active every 5 minutes and return a result only if there is no internet connection.โ€ and it used ping again and would give me results when the connection returned. Software developers don’t have to worry about AI taking their jobs just yet. But AI is providing results which can become a start to the solution, for software developers. Nov 15, 15:58
  • Peter Scargill ChatGPT BooBoos (guest appearance from Bard) by Peter Scargill: Ok, this gets better – I asked Bard to do my LAST example – a Node-Red flow… it made a flow (JSON) but when I tried to pull it into Node-Red it came without wires ๐Ÿ™‚ Just 3 nodes sitting there.. [ { “id”: “n1”, “type”: “http request”, “url”: “https://www.speedtest.net/api/sync?units=Mbps”, “method”: “GET”, “ret”: “txt”, “x”: 140, “y”: 100, “wires”: [ { “target”: “n2” } ] }, { “id”: “n2”, “type”: “function”, “func”: “function(msg) {\n\tvar data = JSON.parse(msg.payload);\n\tif (data.download.speed < 40) {\n\t\tmsg.payload = \"Slow Internet Detected\";\n\t} else if (data.download.speed === 0) {\n\t\tmsg.payload = \"No Internet Detected\";\n\t}\n\tmsg.payload = data.download.speed + \" Mbps\";\n\treturn msg;\n}", "wires": [ { "target": "n3" } ] }, { "id": "n3", "type": "debug", "name": "Internet Speed", "wires": [] } ] Nov 15, 11:17
  • Peter Scargill ChatGPT BooBoos (guest appearance from Bard) by Peter Scargill: Note – I then disconnected the broadband and note the last 2 lines of output – so every minute I’m getting status info – and on failure I get 2 additional lines to signify no connection.. all good but again not what I wanted – which was nothing until loss of connection then just the one-liner… Do we have a version issue or incorrect indenting? Over to you… Nov 15, 11:08
  • Peter Scargill ChatGPT BooBoos (guest appearance from Bard) by Peter Scargill: Good morning Doug Before we get too starry-eyed about Google – I just asked Bard my exact same first question as you did – and got a DIFFERENT ANSWER – this one failed miserably. I changed 5 minutes to 1 minute as I have a reset button for my 4G router (which feeds my main router) and it only turns off for 30 seconds – add another minute for it to get a signal again.. Below you’ll see me invoke goog.py as I called what it gave me….and the awful result once the connection was lost…. python3 goog.py Traceback (most recent call last): File “goog.py”, line 14, in ping_google() File “goog.py”, line 6, in ping_google response = subprocess.check_output([“ping”, “-c”, “1”, “google.com”], stderr=subprocess.STDOUT, universal_newlines=True) File “/usr/lib/python3.7/subprocess.py”, line 395, in check_output **kwargs).stdout File “/usr/lib/python3.7/subprocess.py”, line 487, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command ‘[‘ping’, ‘-c’, ‘1’, ‘google.com’]’ returned non-zero exit status 2. pi@mainpi:~:09:43[1]> So I tried your code – calling it goog2.py – failed due to no indents – thanks Wordpress. So I put in what I thought were the correct indents in your code and… I’ve included a screenshot of the code.. (only change – 60 seconds) and here’s the incorrect result… which came out immediately.. python3 goog2.py PING google.com (142.250.201.78) 56(84) bytes of data. 64 bytes from mad07s25-in-f14.1e100.net (142.250.201.78): icmp_seq=1 ttl=118 time=122 ms — google.com ping statistics — 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 121.668/121.668/121.668/0.000 ms It’s still looking like there’s no way out of having to know what you’re doing… which kind of defeats the object.. is there something wrong with my indenting (image)? Nov 15, 11:00
  • ChatGPT BooBoos (guest appearance from Bard) by Dave: …which, I agree, may not be that helpful. Also, I’ve found that in my first prompt, asking it to double check that its answer complies with the request, or even ‘do a code walkthrough, simulating execution, to validate…’ can work. Odd and not intuitive, yes. Nov 15, 08:30
  • ChatGPT BooBoos (guest appearance from Bard) by Doug: As usual, the google version provides better results. We’ve often “asked Alexa” stuff and got worthless results only for me to pull out my phone and “ok google” which returns far better results. YMMV I asked Bard your very first question and got this result: import os import time while True: response = os.system(“ping -c 1 google.com”) if response != 0: print(“Google is not responding.”) time.sleep(300) # Sleep for 5 minutes (300 seconds) Nov 15, 04:38
  • ChatGPT BooBoos (guest appearance from Bard) by Dave: Pete, I have often found that providing feedback to chatgpt regarding flaws in its initial response can elicit a correct response the second time Nov 14, 20:55
  • Peter Scargill Cheap Sonoff-lookalike BASICs – Erm – NO. Aubess – YES. by Peter Scargill: I use Node-Red to avoid being dependent on the cloud…. and check out my new blog entry on ChatGPT – https://tech.scargill.net/chatgpt-booboos/ It could be in the not too distant future that it could write some useful glue code for Node-Red…. not totally convinced yet based on the experiments I just did. Nov 14, 20:47
  • Peter Scargill Cheap Sonoff-lookalike BASICs – Erm – NO. Aubess – YES. by Peter Scargill: Part in part. There is some solder as you see in the photos but not right across the track. Nothing to stop you thickening it up if you have an iron. Pete Nov 14, 20:44
  • Peter Scargill Sonoff iPlug S60TPG UK Smart Plug by Peter Scargill: Hi Paul There is about 7mm standoff… Pete Nov 14, 15:25
  • Paul smyth Sonoff iPlug S60TPG UK Smart Plug by Paul smyth: Difficult to tell from the photo but is there a gap or standoff at the back of the plug? I bought some Teckin wifi plugs and when you plug them in to a UK power socket the back of the case conflicts with the power switch. If you push the device fully in to the socket it pushes the switch off. This design flaw was changed in later revisions. Not an issue if using an extension lead. Nov 14, 14:25
  • Paul smyth Cheap Sonoff-lookalike BASICs – Erm – NO. Aubess – YES. by Paul smyth: Are the traces for power just the PCB or are they covered with solder like the Sonoff devices? Not sure on the current capacity of the traces only. Nov 14, 14:22
  • Peter Scargill My New Drone/Bicycle Strobes by Peter Scargill: Well, the Strobon units do indeed look good (not that pretty but lightweight – I can see 2 of my light pushing the Mini2 over it’s 250gm) – HOWEVER I’ve been through the ads and cannot find the Strobon C-2 units available in Spain – UK would be nearest but thanks to Brexit you can imagine what the price for two will be… As for the other lights – I missed the point completely – you can fasten them to the underside of the back props – elastic band or adhesive – all supplied with the lights… I’m still listening… Nov 12, 17:36
  • Peter Scargill My New Drone/Bicycle Strobes by Peter Scargill: Ok you may have sold me on these… turns out there’s no-where to fit the lights I bought whereas there is that handy spot on the DJI Mini 2 which looks like it WILL fit these lights (Cree being the people who make the LEDs). Not cheap so I’m wondering if I need 2 or not…. I went for the Mini2 as all you have to do is register here in Spain at under 250 gms (not even that if there’s no camera and hence the drone would be a toy). I’ve no idea if others do actually register but I thought better safe than sorry – it’s free. I also read up a lot before actually turning the drone on – which might be why I’ve not crashed it (yet). It stays in the case at the slightest hint of wind. And I pondered the same thing about the weight – but I’ve seen pedantic civil servants in the UK who WOULD go after the fine detail in general. Anyway I’m off to look at that ad, just hoping there are no duty/tax/postal surprises here in Spain. Nov 12, 17:02
  • My New Drone/Bicycle Strobes by Barnaby: Which drone have you gone for? These ‘Flytron’ strobes are popular for drones, the DJI Mini 2 has a bit to spare below 250g, but they’d push the 3 / 4 Pro over (technically – not sure who is realistically going to actually check the weight exactly!). https://store.flytron.com/collections/led-light-systems/products/strobon-c-2-dual-cree%C2%AE-standalone-drone-strobe-with-usb-type-c-charging Nov 12, 13:57
  • Peter Scargill Cheap Sonoff-lookalike BASICs – Erm – NO. Aubess – YES. by Peter Scargill: Interesting you say that – for a while I was using Ikea and Lidl stuff but at least here in Spain, Lidl stores seem to have lost interest in much of that – and the Ikea controllers I used didn’t have as much as the option to power up in the previous state so I binned mine. I don’t use Home Asistant – don’t like it personally and am much happier in Node-Red Dashboard – I always ensure Tuya Zigbee will run on Zigbee2MQTT (hence MQTT controllable from Node-Red) – most Aqara sensors will work with Zigbee2MQTT – I’d rather not use Smartlife if possible. I haven’t yet succceeded in getting Tuya and Node-Red collaborating – can’t get past the project setup. A long time ago when Tuya-convert worked I was a lot happier. Matter – I have my first devices already running on Matter but none of the miriad of ESP8266-based devices will go near Matter – and the Google Home/Matter hookup is far from perfect – Alexa seems OK with it but Alexa audio recognition isn’t as good as Google IMHO. “Hey Google – Living Room ON”. No problem. “Alexa, Living Room ON” works half the time, other times I get “I’m sorry, I don’t understand” or “Living Room can’t do that”. I’ve sworn more at Alexa than at our cats. Nov 11, 12:10
  • Peter Scargill More Sonoff Zigbee Goodness by Peter Scargill: Hi I do all my phone stuff on 5Ghz and the PC is hardwired 99% of teh time, but so many IOT devices (ie all ESP stuff) will only work on 2.4Ghz – even some cameras. I bought a shielded cable – didn’t help with the SSD – ultimately, covering the lot in foil completely solved the problem. Thanks for the quick feedback. Pete Nov 11, 11:50
  • Cheap Sonoff-lookalike BASICs – Erm – NO. Aubess – YES. by Ragnar: Aliexpress knockoffs…. Ikea is Rolling out more and more Zigbee stuff, most Lively in partnership with Tuya, also Lidl is doing the same. If you deploy all over the house, think home assistant and component which are safe from reliable sources. Maybe start looking at matter / thread (too late for you). Why home assistant? To avoid being dependent on the cloud If you internet is cut off. Nov 11, 11:45
  • More Sonoff Zigbee Goodness by Ragnar: Maybe the frequent SSD accesses led to more Wifi traffic, disturbing Zigbee. If you have high traffic devices like PC’s smartphones or TV sets on your wifi, connec them over 5ghz or with ร  lan cable. You can also, if it’s possible changรฉ the channels used by your Wifi network. Maybe USB 3 can radiate as you think and Then a shorter, shielded cable could help. My speculations. Nov 11, 11:34
  • Peter Scargill More Sonoff Zigbee Goodness by Peter Scargill: Funny you should say that… I have, what, 25 Zigbee devices and several WiFi access points – no issues there BUT I DID recently discover (and report back to router manufacturers) that USB3 can interfere with both Zigbee and 2.4Ghz WiFi. I added a USB3 large external SSD to my NAS, the WiFi router in the same room simply gave up and I could not get some Zigbee stuff to work until I was advised to wrap the SSD and it’s associated cable in foil (alien abduction style) – and I am 100% sure that fixed the problem I had – it’s sitting there a month later looking utterly loony – but no problems at all. I’ve not yet noticed any WiFi/Zigbee issues but I’ll take that on board. Generally I do use Zigbee mainly for sensors and the odd repeater. Nov 11, 10:57
  • Peter Scargill More Sonoff Zigbee Goodness by Peter Scargill: And that opens another can of worms, now I’m starting to deploy this stuff around the house in rural southern Spain, mostly these and other “Mini” controllers simply refuse to fit into my standard Spanish wall switches… I may have to re-think the backing boxes – I wonder if I’m just unlucky or have others come acros this? Nov 11, 10:46
  • Peter Scargill More Sonoff Zigbee Goodness by Peter Scargill: I’d say most similar devices would have equali difficulty with 12 gauge solid copper wire – surely any recently rewired or recently built USA building will now be using thinner wire for light switches now we’ve stopped using filament lamps? I’ve certainly had no problem in Spain or the UK even with pre-LED/CF wiring… perhaps the answer is simply to write to such companies (who in my experience are fairly responsive unlike most couriers and phone companies) and remind them that America is a big market and thy use 110v for lighting and could they make connectors a little bigger in new products? – they’d be daft not to oblige. I find contacting Chinese companies directly in a well-meaning matter very often gets results. Pete Nov 11, 10:43
  • More Sonoff Zigbee Goodness by Ragnar Moller: Hmmm, Considering that Zigbee needs repeaters, that it taket some of your wifi spectrum and that thread is coming, I would reserve Zigbee for battery powered device and some repeaters. Therefore I’m more interested to see the green counterpart to ZBmini. Anyway if you wait to install it in a stairway confifurTion, do you need two switches or one ? Nov 11, 10:22
  • More Sonoff Zigbee Goodness by Carl English: Problem with these devices is they WILL NOT accommodate #12 gauge solid copper wire (Romex). I know I know, lighting circuits are typically wired with #14 gauge romex but a large number of homes in the USA use #12 gauge romex for ALL lighting and duplex outlets. #14 gauge solid copper (Romex) works perfectly….#12 gauge solid copper (Romex)….not a chance ! I believe the problem is that the onboard wire clamps are selected for 220VAC which allows for a much smaller gauge wire (16 or 18 gauge) because Sonoff mostly sells to the 220VAC world market. Just my opinion Nov 10, 06:22
  • Peter Scargill My New Drone/Bicycle Strobes by Peter Scargill: JUST. More’s the point, there’s not enough room on the underside of the Mini 2 drone to fit one without obscuring a vent… but then I just twigged to fastening them to the rear pro legs.. Nov 9, 16:39
  • My New Drone/Bicycle Strobes by Phil: do you have enough spare weight capacity for these? Nov 9, 15:32
  • Peter Scargill Tuya Smart Knob from AliExpress by Peter Scargill: #thanks – correct – blog amending now. Nov 9, 14:33
  • Peter Scargill Tuya Smart Knob from AliExpress by Peter Scargill: You’re RIGHT – I’ll amend teh blog – thanks… Nov 9, 14:32
  • Tuya Smart Knob from AliExpress by someone: Triple click change between normal and command mode. It’s annoying feature, you click multiple (more than twice) times as you think controller did not catch first click and suddenly remote stops working. Then in zigbee logs you see it’s in command mode. Nov 9, 14:14
  • Tuya Smart Knob from AliExpress by Rogan Dawes: I think I got the exact same knob a couple of weeks ago, although mine came from Moes. Not sure if you missed yours, but mine came with a metal plate in the box, and there is a magnet on the back of the knob, so you stick the plate to the wall, and the knob to the plate. Then you can pull it off whenever you want to. That all said, I have not actually tried connecting it to anything yet, so am interested to see the weird behaviour that you experienced, and wondering if I will see the same! Nov 9, 13:41
  • Beautiful Christmas tree Lighting this year by Jan-Dirk: Thank you, Peter Nov 3, 14:09
  • Peter Scargill Beautiful Christmas tree Lighting this year by Peter Scargill: Correct. The nodemcu board has 3v3 out and also the original 5v in. I’m using 5v. Nov 3, 13:32
  • Beautiful Christmas tree Lighting this year by Jan-Dirk: I read you have a 5m strip with 2.5 cm spacing. In the video it seems you power the strip from the ESP/NodeMCU? Is that correct? Nov 3, 13:07
  • Peter Scargill Beautiful Christmas tree Lighting this year by Peter Scargill: Yes, for anyone looking in a WLED for the first time (I’ve been using it for ages and as of last week have a 64*8 2D array showing “Merry Christmas Ho Ho Ho!”) – it’s as well to check out the LED settings properly – maximum overall current, default brilliance etc…there’s a lot in there and though LEDs are generally marketed as POWER SAVING – not it you have hundreds of them ๐Ÿ™‚ I’m currently my first set using a USB hub which can put out 3A per outlet. Indeed as a general principle, some time ago I binned my old 0.5A, 1A etc USB plug-in-the-walls and generally think of 2.5A as normal – with QC and PD USB for our phones…. but that’s a whole other conversation ๐Ÿ™‚ Right that’s it, I’m off to get another set… when the weather starts to go off in November you can’t beat lots of pretty coloured lights to improve the mood… ๐Ÿ™‚ Nov 1, 08:46
  • Beautiful Christmas tree Lighting this year by Rogan Dawes: And the version of the Brizlabs lights that I got was around $22 for a 20m string of fully RGB lights. I’m not sure why they show a solid colour when they are fully capable of individual colours. Obviously a fully addressable string CAN be a solid colour, but the reverse is not always true. Just silly marketing, IMO. Nov 1, 08:24
  • New Sonoff SNZB-01P, SNZB-02P T/H Sensors + MiniR4M by Trevski: I am unable to create a routine with this device (SNZB-0P2) as it doesn’t show up in Alexa Smart Home. It sits in Alexa as a Device but not as a Smart Home Device. Oct 31, 19:40
  • Beautiful Christmas tree Lighting this year by Rogan Dawes: The Brizlabs strings have been available for a few years already, guess it is nice to see that there are more options using the same style, although Iโ€™d love to see them on more flexible wire. These are almost inevitably going to get twisted and kinked, and damaged, unless you are very careful how you roll and unroll them! Fwiw, 20m is an almost perfect length for my Christmas tree, which stands 2.5m tall! Oh, something to point out is the setting in WLED to limit total power consumption based on the rating of your power supply. Nice when you only have a 1A usb supply handy. Oct 31, 18:08
  • Peter Scargill Beautiful Christmas tree Lighting this year by Peter Scargill: That was quick, Rogan, I’m only just finishing the article as we speak! Yes they do seem similar – and yes you could use an ESP32 if you have one handy – way overkill in my example as the ESP8266 works a treat but for anyone buying a board now the price difference is minimal and possibly if I go for a much longer string, the ESP32 could be beneficial. My lights are WS2811 – not totally sure of the difference… anyway I know both work with WLED and of course it has FAR more mode control than those IR controllers. Ok I checked – yes – Amazon.es for example https://amzn.to/46N9PaK My AliExpress purchase was 5m (16ft) but 192 LEDs… Not suer why in your ad they only show the CYAN colour – I’m not sure which of the options you went for…. it SEEMS like the full colour 200 LED version is $33 ?? Feel free to expand on that… ๐Ÿ™‚ Oct 31, 15:52
  • Beautiful Christmas tree Lighting this year by Rogan Dawes: Those look like these: https://www.amazon.com/dp/B08KS4LXFD 200 ws2812-compatible addressable pixels (with fixed addresses, not sequential!) You can clip their controller off, wire it to a regular ESP32, and put WLED on it, works perfectly. Oct 31, 15:12
  • Alexa-Applestrudel (formerly Cakebaked formerly Remote2) by pkkrusty: I’m in the same boat. Not seeing any activity coming into Node Red, where it was working as recently as a month ago. I’m guessing it’s a cookie/auth/cache issue, since it sounds like scargill’s stuff is still working. Oct 26, 20:32
  • Another New Sonoff Sensor – the Zigbee Human Presence Sensor by Peter Scargill: Mmmm I’ve yet to come across any sensor that I’d describe as very good at discriminating pets from humans – indeed most of my cameras are happy to mistake passing moths for people. Oct 26, 10:50
  • Another New Sonoff Sensor – the Zigbee Human Presence Sensor by Dave: But the radar penetrates walls… Maybe not Spanish stone walls but aussie walls for sure. Oct 25, 12:06
  • Peter Scargill Another New Sonoff Sensor – the Zigbee Human Presence Sensor by Peter Scargill: I dont let the cats in my office ๐Ÿ˜ Oct 25, 11:18
  • Another New Sonoff Sensor – the Zigbee Human Presence Sensor by dave: The main issue I have with this device is there is no adjustable sensitivity setting to enable it to discriminate pets from humans. A minor quibble is that it takes ten minutes (exactly) before the device will send “occupancy: false” after a human has left the area. If you have pets, expect this new device to be useless. Oct 25, 00:31
  • The All-New Raspberry Pi 5 !!! by tim Rowledge: Youโ€™ll probably have to make sure to set the โ€œuse Xโ€ preference then. I suppose it might work with the XWayland support thing since basically everything I tried does. But fairly soon all Linux systems will be Wayland based and youโ€™ll need some alternative access route. I canโ€™t imagine that it will be hard to find options. And Pi 5 is now shipping so you should be able to get one soon. Oct 24, 19:15
  • Peter Scargill Xiaomi Mijia 1S Second Generation Smart Vacuum by Peter Scargill: Excellent. I love mine Oct 24, 13:13
  • Xiaomi Mijia 1S Second Generation Smart Vacuum by Edwin: Hi Pete, Iโ€™ve got a first generation of this model, bought it new in 2016, its still up and running. Liked it so much that i bought a second hand one last year and this one is cleaning my bedroom. Grteetings, edwin. Oct 24, 06:22
  • Upgrading an old Tasmota and MUCH MORE by KB: That’s simple enough. Glad you got it sorted. Oct 18, 17:29
  • Peter Scargill Upgrading an old Tasmota and MUCH MORE by Peter Scargill: See new update at the end… Oct 18, 16:16
  • Peter Scargill The All-New Raspberry Pi 5 !!! by Peter Scargill: i use Mobaxterm for everything – it needs to work in there or this will be the shortest RPi relationship I’ve ever had ๐Ÿ™‚ Oct 18, 15:57
  • Peter Scargill Upgrading an old Tasmota and MUCH MORE by Peter Scargill: Yes.. discord.. scargill. When i get home. Out for morning coffee… Oct 18, 11:30
  • Upgrading an old Tasmota and MUCH MORE by KB: So I managed to get the “simple thermostat example” rules working on an old Sonoff Basic. I’ll explain below for those interested. I agree with you Peter about keeping the normal functioning of the Sonoff and still make it work as a thermostat. That’s exactly what I had set up a few years ago but I didn’t save my rules anywhere. I’ll try and work out what I did later. So for the “simple thermostat example” on the old Sonoff Basic: You need to ignore the very first instruction – switchMode1 3 this needs to be the default of 0 Instead you need to detach the button from the relay by setting – SetOption73 1 The rest of the setup is the same but you need to change the switch to a button in one part of the rule1. The part “ON Switch1#State DO event toggling1=%mem1% ENDON” should be changed to – ON Button1#State DO event toggling1=%mem1% ENDON I just copied the name of the temperature sensor from the Tele message and changed it in the rule so didn’t end up entering the wrong name for the DS18B20. Hope this helps Oct 18, 10:47
  • Upgrading an old Tasmota and MUCH MORE by pkkrusty: did you change the config from Sonoff Basic to Generic, giving you access to GPIO0, which you would change from Button to Switch? Might be easier to continue discussion on Discord… Oct 18, 10:05
  • Peter Scargill Upgrading an old Tasmota and MUCH MORE by Peter Scargill: Hi PKKRUSTY That seems sensible – and thank you for that – BUT that doesn’t stop an MQTT command from turning on the unit… AND… it doesn’t work. With the temperature at 44.9 I tried putting this into the console.. rule1 on ds18b20#temperature>43 do backlog switchmode1 15; power1 0; var1 0 endon on ds18b20#temperature Oct 18, 07:46
  • Upgrading an old Tasmota and MUCH MORE by pkkrusty: What about defining the button as a switch (switchmode1 3) and then if temp is too high, changing switchmode to 15. i.e. “`rule1 on ds18b20#temperature>80 do backlog switchmode1 15; power1 0; var1 0 endon on ds18b20#temperature<70 do backlog switchmode1 3; var1 1 endon on power1#state=1 do power1 %var1% endon“` That rule would be one-shot (rule1 5) so it doesn't keep triggering continuously. Oct 17, 23:50
  • Peter Scargill Upgrading an old Tasmota and MUCH MORE by Peter Scargill: Hi KB Yes I did remember rule1 1 thanks. Anyway I’ve scrubbed all that…. what I’m really after is something simpler… I simply want the sonoff to respond to button presses and MQTT in the normal way – UNLESS the temperature is over X degrees in which case the device hsa to stop taking ON/OFF commands or button presses – and the output needs shuttinh off until the temperature drops to say X-10c. For the sake of argument X could be fixed at 80c. IF you DO get the urge to tackle this – don’t forget so74 OR put a pullup resistor on the DS18B20 (the former seems more sensible). SFROMIS in the forums reminded me if using a rule to refer to DS18B20, not DS1820 as in the outdated Tasmota docs. I’m up to here in market/chemist and other chores first think in the morning or I’d be up half the night trying to crack this. Oct 17, 20:53
  • Upgrading an old Tasmota and MUCH MORE by KB: Just making sure you activated rule1 by typing “rule1 1”. I’ve been known to forget this bit or not do it correctly on a few occasions. If I get time tomorrow I’ll add a DS1820 to one of my old Sonoff Basic’s and give it a try. Oct 17, 20:43
  • Upgrading an old Tasmota and MUCH MORE by Jason H.: It looks like their Docker setup is actually built on Nginx, you might be able to adapt that. https://github.com/TasmoAdmin/TasmoAdmin/tree/master/.docker/rootfs/etc/nginx Oct 17, 20:35
  • Upgrading an old Tasmota and MUCH MORE by Jason H.: Yeah, the webserver config is really old, I think most people are running it in Docker (it’s just a single command) or the Home Assistant plugin. You could adapt the Apache config to Nginx but it’s not just copy and paste. I moved most of my server stuff to docker compose to cut down on exactly that sort of hassle. Oct 17, 20:26
  • Peter Scargill Upgrading an old Tasmota and MUCH MORE by Peter Scargill: hi All good EXCEPT – clearly this was written for Apache fans. I use nginx these days and there is no such thing as some of the apache folders mentioned or nginx equivalents – so I can’t proceed with that. Pete Oct 17, 19:30
  • The All-New Raspberry Pi 5 !!! by tim Rowledge: If you configure (ie press a single button in raspi-config) to use Wayland instead of X, then RealVNC can’t connect because they haven’t got around to making it work yet. RealVNC say they are working on it; I mean since all Debian systems are moving to Wayland they rather have to. If using X, then RealVNC still works but you have to turn down the security level for now Oct 17, 18:35
  • 52PI Raspberry Pi Mini Tower NAS Kit by woodyinwoodley: It does support UASP, which is required for decent performance over USB. I also got TRIM working, which is required for the long term health/performance of the SSD. Oct 17, 17:52
  • Upgrading an old Tasmota and MUCH MORE by Jason H.: Peter, have you ever looked at TasmoAdmin? It provides a central web UI you can use to update and manage multiple devices. https://github.com/TasmoAdmin/TasmoAdmin I mostly use ESPhome nowadays, but when I was using Tasmota I used TasmoAdmin to get the same sort of central management you get with ESPhome. It made keeping devices up to date a lot easier. Oct 17, 17:43
  • Peter Scargill Upgrading an old Tasmota and MUCH MORE by Peter Scargill: Now I’m utterly confused. I put that rule1 (modified to DS1820) into the console and set rule to 1. I added in the backlog command – and rebooted. The button on my Sonoff still directly controls the relay – ideas as to the next step? Oct 17, 17:38
  • Peter Scargill Upgrading an old Tasmota and MUCH MORE by Peter Scargill: Meanwhile for those of us with Google Home and Alexa, the MQTT alternative works well. I would like to get that Tasmota’d BASICR4 working on matter but my attempts to date fail at the last hurdle. Comments welcome. Oct 17, 13:44
  • DrFragle and MrShark Upgrading an old Tasmota and MUCH MORE by DrFragle and MrShark: matter will never arrive on tasmota esp8266 because of memory limits, details here: https://tasmota.github.io/docs/Matter/ Oct 17, 12:26
  • DrFragle and MrShark The All-New Raspberry Pi 5 !!! by DrFragle and MrShark: saw in some videos that you need to use tigervnc to support new gui, not ultravnc or realvnc Oct 17, 12:16
  • The All-New Raspberry Pi 5 !!! by tim Rowledge: RPT were kind enough to send me one last week. My stuff – Squeak Smalltalk- worked straight away, no rebuilding required. It looks like the VNC app needs work to cope properly with the change to Wayland graphics but you can set to use the older X stuff. Benchmarking Squeak shows 70% of the performance of my 3.9GHz i7 iMac which is pretty damn amazing for an $80 SBC. Oct 16, 17:30
  • Upgrading an old Tasmota and MUCH MORE by KB: It works by just copying and pasting that whole block from the website into the Tasmota console. It fits in the one rule with room to spare(there’s 3 to use) but you could remove the extra spaces if needed. Then don’t forget to turn the rule on with: rule1 1 To test it’s working, I set the min just above the temperature the sensor is showing (as long as it’s below the low thirties) and the max in the low thirties. so I can trigger the max with the warmth of my hand by just holding the unit then it should cool down to below the min. I don’t currently have a unit with a temperature sensor attached so can’t test one. Oct 16, 15:19
  • Peter Scargill Upgrading an old Tasmota and MUCH MORE by Peter Scargill: Already made on change – that resistor isn’t needed if you use “SO74 1” in the console – which activates an internal pullup. I’m now looking at the Tasmota page you suggested “Simple Thermostat Example”… in their example – maybe simply changing minumum temperature to 0 and max to 60 ??? I’m familiar with rules but only ever used short ones… Is this simply entered as one line? Rule1 ON system#boot DO RuleTimer1 70 ENDON ON Switch1#State DO event toggling1=%mem1% ENDON ON event#toggling1=0 DO mem1 1 ENDON ON event#toggling1=1 DO mem1 0 ENDON ON Rules#Timer=1 DO Backlog var1 0; RuleTimer1 70; Power1 0 ENDON ON tele-SI7021#temperature DO Backlog var1 1; RuleTimer1 70; event ctrl_ready=1; event temp_demand=%value% ENDON ON event#ctrl_ready>%mem1% DO var1 0 ENDON ON event#temp_demand>%mem2% DO Power1 0 ENDON ON event#temp_demand Oct 16, 13:25
  • Upgrading an old Tasmota and MUCH MORE by KB: I use a few Sonoff Basic’s. A few years ago I used a Sonoff Basic with a DS18b20 attached to control a heat pad in my greenhouse to protect my seedlings from frost. I used the Tasmota rules to create a thermostat. This way it is even more self contained with no need for the Raspberry Pi and Node-red. I now use that device for something else so can’t give an example. I just looked up the Tasmota rule cookbook and the simple thermostat example seems a bit more sophisticated than what I did but would do the job nicely. https://tasmota.github.io/docs/Rules/#simple-thermostat-example Perhaps it’s not as simple to set up as using Node-Red but it’s all in the one device. Oct 16, 12:35
  • Peter Scargill Just a Quicky – Tasmota Remota by Peter Scargill: Thanks for that… Oct 12, 18:04
  • Just a Quicky – Tasmota Remota by Frank Kleine: For Apple there is a different App called “Tasmotrol” which works great for me, although it feels a little less technical than “Tasmota Remota” and Iยดm not sure if it supports the same amount of devices. Also they charge for a pro version when you want to use more devices after their free trial. But their support responded to my questions and it seems to be under constant development… Oct 12, 17:50
  • DrFragle and MrShark New Sonoff BASICR4 and Battery-Powered S-MATE 2 by DrFragle and MrShark: but here he shows how to do the same with a basic r4, using a double rocker switch… how it does, i don’t know, probably an additional capacitor inside which keeps the power or for the little time of the switch to change it’s position? take a look at 1:30 for how it connects them, this way there’s always a side of the switch connected to the live line Oct 12, 10:45
  • Peter Scargill New Sonoff BASICR4 and Battery-Powered S-MATE 2 by Peter Scargill: That’s what S-MATE is for – I had mine up and running – sadly due to sheer late-night incompetence I blew it up – waiting for a replacement to arrive. Oct 12, 05:11
  • DrFragle and MrShark New Sonoff BASICR4 and Battery-Powered S-MATE 2 by DrFragle and MrShark: Pete, take a look https://www.youtube.com/watch?v=SQrmfpxAqo8 Oct 11, 23:41
  • Peter Scargill Another New Sonoff Sensor – the Zigbee Human Presence Sensor by Peter Scargill: Yup… and no I don’t have a link yet. The device is new and Sonoff have been on hols – just back – so hopefully they’ll give me more info for users in the coming days. I’m not on commission incidentally – I like to keep my reviews independent ๐Ÿ™‚ Oct 10, 01:31
  • Another New Sonoff Sensor – the Zigbee Human Presence Sensor by JP: Thanks for this quick review! Do you have a link where to buy? Z2M should work so to see: https://github.com/Koenkk/zigbee-herdsman-converters/pull/6144 I see above is already mentioned in the comments.. ๐Ÿ™‚ Oct 9, 21:25
  • Peter Scargill Another New Sonoff Sensor – the Zigbee Human Presence Sensor by Peter Scargill: Thinking about it, yes I’ll simply send values 1 and 0 to Grafana as results come in, 1 being detected, 0 being noone there. Oct 6, 12:29
  • Another New Sonoff Sensor – the Zigbee Human Presence Sensor by KB: Glad you got it working with Zigbee2MQTT. Not sure which settings you are wanting to set up to get a history. I don’t use the eWelink app nor do I have a NSPanel. The only thing I’ve done with a Zigbee device that I wanted a history for was a Sonoff SNZB-04 door sensor that I use in a tipping bucket rain gauge. Using Node-Red I feed the open/closed signal to a counter then use the counter data to display hourly, daily and weekly rainfall charts in the Node-Red UI. I also send the counter data to Influxdb and use Grafana to display the longer term data. You should be able to a similar thing (maybe no need for the counter) to create an occupancy history but it looks like the data is already being stored else where going by your NSPanel. If the SNZB-06P doesn’t detect cats are we going to see the return of the cat burglar? Just in case you’re interested here’s a link to the rain gauge https://www.thingiverse.com/thing:6097837 I remixed TomasRudh’s design to fit the Sonoff SNZB-04 sensor. Oct 6, 10:36