Feed

  • A good day for Alexa by Juan C Galvez: I already posted part of my config. Feb 15, 21:07
  • Inclinometer by Reza: Would be great if this had serial interface for connecting to a micro controller. I know at this price, it is too much to ask. There are inclinometers with serial interface that cost close to $100. Feb 14, 23:27
  • A good day for Alexa by Juan C Galvez: This is part of my configuration. I am sharing the configuration to get access to node-red and echo (Amazon Alexa interface using Node-red). In fact I am not using that names for locations. I wrote like that for simplicity here. I prefer to use a long string of random generated characters to try to avoid people hacking my service. I also use fail2ban to block people trying to get access to my service without authorization (Several tries every day). This is it: ___________________________________________ http { include mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] "$request" ' # '$status $body_bytes_sent "$http_referer" ' # '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx_access.log main; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; #gzip on; server { # SSL configuration listen 443 ssl http2 default_server; #listen [::]:443 ssl http2 default_server; ssl_certificate /etc/letsencrypt/live/yourdomain/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/yourdomain/privkey.pem; # from https://cipherli.st/ # and https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx.html #ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_protocols TLSv1.2; ssl_prefer_server_ciphers on; ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH"; ssl_ecdh_curve secp384r1; ssl_session_cache shared:SSL:10m; ssl_session_tickets off; ssl_stapling on; ssl_stapling_verify on; resolver 8.8.8.8 8.8.4.4 valid=300s; resolver_timeout 5s; # Disable preloading HSTS for now. You can use the commented out header line that includes # the "preload" directive if you understand the implications. #add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload"; add_header Strict-Transport-Security "max-age=63072000; includeSubdomains"; add_header X-Frame-Options DENY; add_header X-Content-Type-Options nosniff; ssl_dhparam /etc/ssl/certs/dhparam.pem; location /favicon.ico { access_log /var/log/host.access.log main; } location / { access_log /var/log/host.access.log main; deny all; } location /nodered/ { access_log /var/log/host.access.log main; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header Host $host; proxy_pass http://192.168.2.124:1880/ui/; # Following is the "user:password" to access your node-red service proxy_set_header Authorization "Basic 'your user:password base64 encoded string'"; auth_basic "Restricted Content"; # the following file was created with htpasswd command. This is the user and password that must authenticate from outside your network to get access to /nodered URL. This file can have more than one user. auth_basic_user_file /etc/nginx-pw; } location /echo { access_log /var/log/host.access.log main; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header Host $host; proxy_pass http://192.168.2.124:1880/echo; proxy_set_header Authorization "Basic 'your user:password base64 encoded string'"; limit_except POST { deny all; } } } ____________________________________________________ I use LetsEncrypt to generate my SSL certificates. You must update entries to ssl_certificate to match your location. You must also update your 'user:password base64 encoded string' entries. I don't know how to encode code here to show it better.. Feb 14, 16:43
  • Leonardo Pavini BackLit Keyboard Issues by Leonardo Pavini: The brightness of the keyboard is activated by passing the hand above the keys. The USB receiver does not include communication with a mouse. Feb 14, 10:25
  • Leonardo Pavini BackLit Keyboard Issues by Leonardo Pavini: Amazon.co.uk displays the photos "US layout" but the selection for the purchase I think refers to "UK layout" you can also select the FR DE IT layouts. Feb 14, 10:17
  • Peter Scargill ACEPC Intel Z8350 TV Box with Windows by Peter Scargill: Well, I added a microSD so my Dropbox stuff would go there instead of the internal eMMC - but that's no good for ~Windows updates - as Windows complains that the SD is removeable storage. I have 3 small USB single-cable-powered hard dries which have been used with little Nano boards in the past and up to now Windows Disk Manager can't even see one of them never mind use them for Windows updates. Feb 14, 10:15
  • DrFragle and MrShark ACEPC Intel Z8350 TV Box with Windows by DrFragle and MrShark: these boxes are like smartphones and tablets: they die the same shape they're born... you can't expand them, all is soldered on mainboard and covered with a giant passive heatsink, no fans usually... you can use an usb3 dongle or a microsd... usually anyway they're main problem is just with updates, as 32gb are enough for a standard usage scenario as a desktop, if you use them for accessing network or external connected resources Feb 14, 10:09
  • Peter Scargill ACEPC Intel Z8350 TV Box with Windows by Peter Scargill: That could well be what this ends up getting used for if I can't expand it. Feb 14, 10:02
  • DrFragle and MrShark ACEPC Intel Z8350 TV Box with Windows by DrFragle and MrShark: as i said, mine is really good but i don't use it as a media player nor with a gui at all, it's just a cheap, headless, silent, power saving, quite powerful server for me šŸ™‚ Feb 14, 09:44
  • DrFragle and MrShark BackLit Keyboard Issues by DrFragle and MrShark: UK in title, US in description... better ask amazon support for help... https://www.amazon.co.uk/Logitech-Illuminated-Wireless-Keyboard-QWERTY/dp/B0042T7VGQ/ Feb 14, 09:42
  • ACEPC Intel Z8350 TV Box with Windows by Barbudor: Hi @PuceBaboon. Just saw your comment. Finally I didn't purchase. I had emergency for a laptop. Ordered a Teclast F5 (N4100, 8GB, 128GB ssd) but had to canceled today because there are no more stock. Was a good price at 284ā‚¬ including DHL. For now I'm in esp8266 with uPy and will look back for a mini PC later this year. Feb 14, 09:13
  • Peter Scargill BackLit Keyboard Issues by Peter Scargill: Amazon.co.uk show "English keyboard layout" but their photos are all American, not UK.. hash symbol is not next to ENTER. Does yours have the UK pound symbol on the "3" key and where is the hash?? Feb 14, 09:08
  • Leonardo Pavini BackLit Keyboard Issues by Leonardo Pavini: logitech K800 white backlit keyboard, expensive, but very visible in dim light and in the dark. Feb 14, 09:01
  • Peter Scargill ACEPC Intel Z8350 TV Box with Windows by Peter Scargill: All I can say is thank heavens for "run from CD"... I put that Ubuntu onto an SD which Antonio discussed in here. Sure enough it ran on the little ACEPC. Like a DOG. Firefox ran with no sound so I grabbed Chromium - that ran with no sound. Then I tested HD video on Youtube... stuttering. Awful. Why would you? HD cideo in Windows is good. There's maybe a reason they put Windows 10 Home on here as that runs just fine. Good job I didn't screw it up. I guess I'll just have to try an SD-based drive D: for Windows 10 data.. nothing lost but good drinking time. Feb 14, 07:12
  • ACEPC Intel Z8350 TV Box with Windows by PuceBaboon: Okay, they just replied ...4GB memory, no internal disk (this is the Hystou P12 on Gearbest). Feb 14, 05:28
  • DrFragle and MrShark ACEPC Intel Z8350 TV Box with Windows by DrFragle and MrShark: here: https://tech.scargill.net/raspberry-pi-rpi-clone-issues/#comment-47641 in the 2 links in there, you'll find 5 different fashions, try them and choose the one that fits your needs/visual the base is common, ubuntu 18.04, while they change the graphical environment used Feb 13, 20:10
  • Peter Scargill ACEPC Intel Z8350 TV Box with Windows by Peter Scargill: Antonio - this reply - can we discuss... I'm interested, which of the links is the iso for ubuntu? Feb 13, 20:07
  • DrFragle and MrShark A good day for Alexa by DrFragle and MrShark: come on, share your config file šŸ™‚ Feb 13, 20:03
  • A good day for Alexa by Juan C Galvez: Peter. I recommend you to read about NGINX. With its reverse proxy option you could have different URLs to the same port (80, 443, etc) being internally forwarded to different IP addresses and/or ports. You could make something like this: requests to https://tech.scargill.net/option1 being forwarded internally to 192.168.2.100 port 8080. requests to https://tech.scargill.net/option2 being forwarded internally to 192.168.2.120 port 8980. requests to https://tech.scargill.net/nodered being forwarded internally to 127.0.0.1 port 1880. These are just examples of what you could do. One additional benefit to note would be the fact that externally you can use HTTPS but internally just HTTP. I have it running on a Raspberry PI 3B and works really well. Feb 13, 19:01
  • ACEPC Intel Z8350 TV Box with Windows by George Fenyvesi: I use Atom X5-Z8350 with 16.04 (Linuxium), but standard 18.04 allegedly works also, but not tried only read. Feb 13, 18:11
  • DrFragle and MrShark ACEPC Intel Z8350 TV Box with Windows by DrFragle and MrShark: Oh, Pete, just to be clear: forget your script on these devices, as ubuntu 16.04 is too old for this chipset, and 18.04 is too different and your script does not work šŸ™‚ BUT, it's the good time to test docker and home assistant with hass.io and its addons, or just plain nodered container on top of docker itself šŸ™‚ believe me, it's a new world... and i'm here to help, of course šŸ™‚ Feb 13, 17:42
  • DrFragle and MrShark ACEPC Intel Z8350 TV Box with Windows by DrFragle and MrShark: ehm, why? I can understand the S editions (as they allow ONLY apps from the microsoft shitstore, NOT desktop ones), but home is just fine for home usage... you don't need disk encryption or active directory integration at home, which are 2 of the major addons of the PRO version... Feb 13, 17:37
  • DrFragle and MrShark ACEPC Intel Z8350 TV Box with Windows by DrFragle and MrShark: anyway, the beauty of the penguin: download that iso, burn on an usb dongle using RUFUS (google it), then put into your z83 and boot it up, pressing F7 on start for the boot menu... select the usb dongle and try linux live, to test everything... if you're ok, click the desktop icon and install it šŸ™‚ i suggest LUBUNTU on UBUNTU or others because it's very lightweight and desktop resembles the windows one, with a "start menu" like in bottom left corner Feb 13, 17:34
  • Peter Scargill ACEPC Intel Z8350 TV Box with Windows by Peter Scargill: I did notice Windows home - again fine for passive consumption and email but for us hackers and creative types - Windows Home is saddly crippled. Feb 13, 17:31
  • DrFragle and MrShark ACEPC Intel Z8350 TV Box with Windows by DrFragle and MrShark: an ESD windows 10 license is less than 10ā‚¬ on amazon and ebay, but they usually arrive with linux home, sometimes with windows home S edition (crippled down) Feb 13, 17:26
  • DrFragle and MrShark ACEPC Intel Z8350 TV Box with Windows by DrFragle and MrShark: nope, all soldered on the mainboard... Feb 13, 17:24
  • DrFragle and MrShark ACEPC Intel Z8350 TV Box with Windows by DrFragle and MrShark: no need to backup: use Double Driver to backup all your actual drivers (use the default setting which selects all the drivers which are not already part of windows itself): https://double-driver.it.uptodown.com/windows then just download latest win10 official iso and just use that to install, and restore drivers (this way you don't have to update an old system and you'll get latest windows on 1st boot): https://www.microsoft.com/en-us/software-download/windows10 or download the updated driver zip file from that site: http://www.minisforum.com/showthread.php?tid=50 i had a few issues with linux and audio, but then i used that distro and they seemed solved... can't test them now as then i removed graphical environment and i'm using it as a headless unit with docker all you need for the Z83 is on this forum: http://www.minisforum.com/forumdisplay.php?fid=6 Feb 13, 17:21
  • DrFragle and MrShark ACEPC Intel Z8350 TV Box with Windows by DrFragle and MrShark: https://tech.scargill.net/raspberry-pi-rpi-clone-issues/#comment-47641 šŸ™‚ Feb 13, 17:07
  • Peter Scargill ACEPC Intel Z8350 TV Box with Windows by Peter Scargill: You have a link for the ISO? Feb 13, 17:01
  • Peter Scargill ACEPC Intel Z8350 TV Box with Windows by Peter Scargill: On second thoughts - I checked on the web for people converting these CherryTree processor boxes to Linux - and having trouble getting sound to work. Possibly worth findnig a way to back up the entire Windows setup BEFORE trying Linux might be worth the effort. Feb 13, 17:00
  • Peter Scargill ACEPC Intel Z8350 TV Box with Windows by Peter Scargill: Looks good on the surface but I've had this with AleExpress before - the ad says "support Windows 20" - then "support Linux" - but I suspect what you get with it is Linux.. also the memory supports 4k but it looks like the actual outputs may only be 1920px - I've also come across this with so-called 4K TV boxes elsewhwere. I may be wrong but I'd be wary about that one unless Linux is what you wanted. This review was about a 4K Windows box and I'm testing on a 4k monitor. Having said all that I may well scrap Windows on this box and turn it into a Linux box if I can't increase the internal eMMC to 64GB or more. Feb 13, 16:31
  • Peter Scargill ACEPC Intel Z8350 TV Box with Windows by Peter Scargill: Well if nothing else, that has clarified that 32GB is simply not enough if you want to do any more than passive viewing. I wonder if that box can be expanded internally. Feb 13, 15:39
  • ACEPC Intel Z8350 TV Box with Windows by George Fenyvesi: Beelink BT3 Pro Mini PC 4+64 GB Intel Atom X5-Z8350 2.4/5.8GHz Dual Band WiFi Bluetooth 4.0 Ethernet 1000Mbps EU US UK Plug STB 116 USD http://bit.ly/2TPDzOM Feb 13, 15:39
  • DrFragle and MrShark ACEPC Intel Z8350 TV Box with Windows by DrFragle and MrShark: you can add an usb dongle and use that as temporary space while doing major windows updates, windows will tell you that itself if it has not enough space... but life is easier with 64gb... i've bought a z83 (2/32) for 74ā‚¬ and an ap34 (6/64) for 131ā‚¬, just monitor amazon offers, got both with Prime... šŸ™‚ Feb 13, 15:12
  • DrFragle and MrShark ACEPC Intel Z8350 TV Box with Windows by DrFragle and MrShark: if you want a firewall, buy a mikrotik or other proper hw... a 5 port gigabit+wifi is about 80ā‚¬, and they're little jewels... and not going to buy other stuff from GearBest until this is sorted out: https://www.youtube.com/watch?v=ZC7dgA0IQ4A Feb 13, 15:05
  • ACEPC Intel Z8350 TV Box with Windows by PuceBaboon: The Hystou p12 (on Gearbest) currently looks like a good deal at $137, especially if you're looking for a firewall machine (2 x GbE), but it's unclear whether the "standard system" comes with 2GB or 4GB of main memory (a reviewer has posted that there is -no- SSD included). I wonder whether Barbudor managed to get that great deal on the AP34 from cdiscount.com? That page now reads "This item was a victim of it's own success", so I guess quite a few people read his comment. šŸ™‚ Feb 13, 13:55
  • Peter Scargill ACEPC Intel Z8350 TV Box with Windows by Peter Scargill: Agreed. 32GB is just not enough for Windows. For passive use is browsing and watching video this is just fine however. Feb 13, 13:38
  • ACEPC Intel Z8350 TV Box with Windows by Ryan: Having played with these sorts of boxes a bit I'd recommend avoiding 32gb ones if the intention is to run Windows 10, it will very quickly begin failing to update and enter endless update loops due to lack of drive space. I don't understand why MS allow 32gb devices, it's madness. For not a lot more you can get Gemini Lake based boxes, which have advantages over the Atoms, like 4k @60hz and a fair bit more grunt. The Beelink S2 for Ā£180 on Amazon UK is great, cheaper on import obviously. Passive cooled, very capable N4100 quad core, 4GB/64GB with a 2.5" slot for SSD/HDD. The benchmark performance is not far off a Q6600, which is bonkers considering 10x years ago that was a 105w chip vs the 6w gemini lake today... Feb 13, 09:17
  • Azee The Script by Azee: just test it now, working perfectly, without any problem. thanks again šŸ™‚ Feb 12, 21:52
  • DrFragle and MrShark Grafana and InfluxDB by DrFragle and MrShark: yuppie! Frenck's streaming live while coding the long awaited Nginx Proxy Manager addon! https://www.youtube.com/watch?v=X2u9cK9E1sg a reverse proxy allows you to have an https exposed dyndns for example, and have the SAME (with a SINGLE exposed public port) redirect for example: https://nodered.something.net to your local nodered on port 1880, while https://ha.something.net can redirect to home assistant on the same machine on port 8123 OR on a different machine at all, and so on... and terminating (offloading) the SSL session on the proxy allows you to have all you exposed to internet traffic encrypted, but all your local traffic in faster and easier to manage http format... this addon is a piece of art for all this stuff: https://nginxproxymanager.jc21.com/ Feb 12, 21:25
  • Jason Hite ACEPC Intel Z8350 TV Box with Windows by Jason Hite: Yep, me too. I run hass.io on top of Debian on an Acer Chromebox. Having it running off of a proper SSD is a huge improvement in reliability and I don't have to worry as much about wearing out an SD card. Feb 12, 21:21
  • Brian Gentles Sonoff, Tasmota and Alexa by Brian Gentles: Hello Brian Dunward if you are sure mqtt is working and you have not changed tasmota topic try sending via node-red inject node Topic = cmnd/sonoff/POWER msg.payload = on your basic sonoff should switch on you can see iwhat the sonoff receives in the console sonoff s IP XXX.XXX.XXX.XXX/cs regards Feb 12, 21:18
  • DrFragle and MrShark ACEPC Intel Z8350 TV Box with Windows by DrFragle and MrShark: i use a similar model, a Z83, with ubuntu 18.04.2 and docker on top of it to use hass.io and all its addons... a "helluva" lot faster than the previous raspberry... i used this iso to setup it, as it had all the needed addon drivers to have it working fully: Z83_linuxium-lubuntu-18.04-desktop-amd64.iso (just google it) i still use a (old) NUC for my main uses, as it's always attached to my tv and always on, and being windows (but on linux would have been the same) i can have VLC with proper GAMMA increased to 1.2 to see details in dark scenes of movies and tv series... i did't find a single ANDROID tvbox (and software, tested vlc and mx player, and others) which allows modifying the GAMMA, which for me is a MUST... Feb 12, 21:14
  • DrFragle and MrShark A good day for Alexa by DrFragle and MrShark: never use sonoff-basic.bin firmware, it's just a crippled down version which just enables to use the stock features of a sonoff basic (NO other sensors or other goodies) allowing you to jump to a new version of the SAME firmware edition without using the minimal one, as the basic firmware is smaller than 500k... i always flash sonoff.bin (really, sonoff-IT.bin for italian) on mine... and if you leave the config as it is, and you go into the firmware update page and just hit the ONLINE UPDATE, with the url that's already there, you can watch how the (Theo's so called) Ota Magic works: it will download minimal, then it will auto refresh page and download sonoff.bin, all on its own... šŸ™‚ try for example to flash 6.3.x (now old), then click to update to latest, leave there the browser alone and just watch šŸ™‚ Feb 12, 21:01
  • DrFragle and MrShark Grafana and InfluxDB by DrFragle and MrShark: take a look at Frenck latest video, on how he sets up grafana+influxdb+glances on home assistant, but more of that look at how powerful and easy is to push in influx and pull out with grafana all your crazy statistics and graphs šŸ™‚ https://www.youtube.com/watch?v=m9qIqq104as p.s.: Frenck is one of the major developer of Hass.IO addons, you can see him setup up some of them in the video... Feb 12, 20:56
  • Jason Hite ACEPC Intel Z8350 TV Box with Windows by Jason Hite: Hmm, that's pretty decent specs for $150. I wonder how it'd run Linux? Would make a nice upgrade over a RasPi for a home automation server. Feb 12, 19:49
  • A good day for Alexa by TerryS: You should be able to flash sonoff.bin straight away. Problems may occur when you update from one version of sonoff.bin to the next version. For example moving from 6.4.1 to 6.4.2 (when it comes out). You might have to follow the path: sonoff.bin (6.4.1) -> sonoff-minimal.bin -> sonoff.bin (6.4.2) Feb 12, 12:43
  • Azee The Script by Azee: Thanks a lot, i will test it tonight. Feb 12, 12:02
  • Peter Scargill A good day for Alexa by Peter Scargill: AHAH, I was wondering about that... So, for clarity Terry, on a Sonoff BASIC (R2) do we need to flash Sonoff-BASIC - then ota to minimal then ota to sonoff.bin - or is flashing sonoff.bin at the very beginning ok to do? May as well have this written down here. Feb 12, 11:56
  • Peter Scargill Sonoff, Tasmota and Alexa by Peter Scargill: Are you putting in your mqtt credentials - ie user and pass...I use MQTT )on the pi as per script) and Tasmota - indeed, with the IP problems (ghost network) I had the other day, had it not been for the working MQTT connection to the Tasmotas I would have given up and taken up joinery instead. Feb 12, 11:50
  • Brian Durward Sonoff, Tasmota and Alexa by Brian Durward: Hi Peter. Switching a sonoff basic with tasmotta is my first node-red project. I have managed to flah tasmotta onto a sonoff basic and the mqtt commands are working within the tasmotta console. In node-red it would appear that the mqqt nodes are connected to my mqqt server (installed on a Pi as per your Script) but I can't get a working connection to the sonoff. Any suggestions? Feb 12, 11:39
  • A good day for Alexa by TerryS: **WARNING** Never install sonoff-minimal on a virgin system. It has no way of obtaining your WiFi credentials (no AP mode etc) other than obtaining them from the previous sonoff-XXX.bin install. I've made that mistake before and had to resort to a soldering iron and serial lead to recover. Feb 12, 10:32
  • DrFragle and MrShark The Script by DrFragle and MrShark: issues should be solved by this version, just sent to Peter, too: https://pastebin.com/MLmHQesS grafana now has an official repository, the one we used till now seems messy... now it and influx are both installed correctly, just tested on Stretch in vm... commented out "glances and bottle" because of python errors... added "net-tools" to standard requirements, as stock debian is now missing standard "ifconfig, netstat, etc" Feb 12, 10:11
  • DrFragle and MrShark The Script by DrFragle and MrShark: bug confirmed, working on it Feb 12, 09:23
  • DrFragle and MrShark The Script by DrFragle and MrShark: testing right now Feb 12, 07:57
  • DrFragle and MrShark The Script by DrFragle and MrShark: tomorrow (today) i'll do an install in a debian stretch vm and test it... Feb 11, 23:37
  • A good day for Alexa by Chris B: Andreas did a good job with that video. I need to updare my pi. Feb 11, 22:44
  • Brian Gentles Devices recently connected to the network by Brian Gentles: Hello Mr Shark thanks again for the help. I'm now officially a mass murder worked perfectly regards Feb 11, 22:21
  • Azee The Script by Azee: to add that i can't see if "/etc/apt/sources.list.d/grafana.list" is created . Feb 11, 22:10
  • Azee The Script by Azee: HI, today i redo the complete installation with your new script, but i encounter the same problem. -------------------------------------------------------- Installing Grafana and Influxdb E: Unable to locate package grafana E: Unable to locate package grafana-data E: Unable to locate package grafana Failed to enable unit: File influxdb.service: No such file or directory Failed to start influxdb.service: Unit influxdb.service not found. Failed to enable unit: File grafana-server.service: No such file or directory Failed to start grafana-server.service: Unit grafana-server.service not found. Failed to enable unit: File chronograf.service: No such file or directory Failed to start chronograf.service: Unit chronograf.service not found. -------------------------------------------------------- here is the complete log https://pastebin.com/fvPYcaVw Feb 11, 21:46
  • Big Timer by Cornelius: Never mind, Pete. Having the source code on my disk doesn't allow me to inspect recent changes. Nor can anyone from the community easily contribute to your project (e.g. via pull request). I don't get how GitHub would add a burden on you. Instead of having to scroll through this growing list of unstructured comments on your blog, users could file GitHub issues with their questions and suggestions. It can not get any more organized than that. And having to enter "git push" in addition to "npm publish" is not really that much of an extra effort, is it? Feb 11, 20:36
  • Peter Scargill Big Timer by Peter Scargill: Hi Cornelius - with respect it is the third party sunCalc that caused the issue - now sorted and next time someone asks for something new there will be a considerably longer test period before it goes live. As for GitHub I have no intention of using Github for this or other nodes. That would be somewhere else I have to monitor, so that's a no - no benefit whatsoever in this case. I'm not sure if you've spotted but you have the full source on your computer - wherever NR has installed your Bigtimer. Feb 11, 15:56
  • Peter Scargill BigTimer and getMoonTimes by Peter Scargill: 2.1.7 finally gets around the issue with the moon not always rising and setting in one day. Feb 11, 15:51
  • DrFragle and MrShark The Script by DrFragle and MrShark: try this: https://pastebin.com/YmZLemxG modified lines 1192 (for influx stretch version) and added 1198 (for grafana stretch version) if you already run before, suggest removing these 2 files BEFORE running new script, as they will contain the old repository, duplicating it if running the script again: /etc/apt/sources.list.d/influxdb.list /etc/apt/sources.list.d/grafana.list Feb 11, 15:33
  • DrFragle and MrShark The Script by DrFragle and MrShark: at the time that part was done, there was no stretch and the same setup worked for both... i need to take a look at that part, then... let's see tomorrow, if i've a bit of time... Feb 11, 15:25
  • Leo Van der Hoek BigTimer and getMoonTimes by Leo Van der Hoek: I tested this by setting the time to "disaster time" which is midnight 11 feb 0 hour! That's when my NR stopped recording data to sqlite. var now= new Date(2019,1,11,0,0,0) temporarily. Feb 11, 15:18
  • DrFragle and MrShark Devices recently connected to the network by DrFragle and MrShark: you don't need to be a sniper... be a mass murderer! šŸ˜€ sudo killall fing.bin Feb 11, 15:16
  • DrFragle and MrShark Devices recently connected to the network by DrFragle and MrShark: that's correct, as to get those info you need root privileges and sessions belong to him Feb 11, 15:15
  • Big Timer by Cornelius: Peter, thank you for developing this great node. It is doing awesome things for many of us. Unfortunately, it lately caused many of us some severe issues. I believe the community would highly appreciate if you put your code on GitHub. Contributions would become much easier and everyone would benefit. I hope you will reconsider your opinion. Thank you! Feb 11, 13:23
  • Leo Van der Hoek BigTimer and getMoonTimes by Leo Van der Hoek: The browser is not updating automatically, so I missed change on blog. Feb 11, 11:12
  • Peter Scargill BigTimer and getMoonTimes by Peter Scargill: Leo - read blog updates Feb 11, 11:09
  • Steve Lenehan BigTimer and getMoonTimes by Steve Lenehan: Update to latest version - works fine now Feb 11, 11:08
  • Leo Van der Hoek BigTimer and getMoonTimes by Leo Van der Hoek: Dear Peter, to what version should we go back to get rid of indefinite loop when restarting Node-RED? Feb 11, 10:58
  • Peter Scargill Big Timer by Peter Scargill: You have no idea how much hassle moontimes has caused me - one guy asked for it so I put it in - firstly the moonTimes function in sunCalc would not seem to handle FALSE correctly, so I stopped using FALSE. I could not replicate the isue here until tlast night (late) - this morning I pushed out Bigtimer 2.1.6 with the moon section disabled - should work now.... in the meantime I tried a try-catch on it to test and clearly I'm not using try-catch correctly as THAT failed - ideas welcome. See latest blog entry..https://tech.scargill.net/try-catch-in-nodejs/ Meanwhile 2.1.6 BigTimer should work fine. Its working here. Feb 11, 10:28
  • Big Timer by Bas v. W.: After I had updated BigTimer to 2.1.5 yesterday, I received the same errors as 'Ed Claus' is reporting above. (TypeError: Cannot read property 'getHours' of undefined) I have the lasted version of suncalc (v1.8.0) installed. To (temporarily) fix my now unresponsive NodeRED installation, I reverted back to BigTimer 2.0.9 and everything is working fine again. If it helps, I'm also situated in the Netherlands. Feb 11, 08:32
  • Peter Scargill Big Timer by Peter Scargill: I just got that for thew first time - apologies to those affected. Its the sunCalc.getMoonTimes function in sunCald module. Either I've mis-read it or it is not working properly - one way or anothe this is going to work - if i have to take moontimes out so be it. The VAST majoity of functions wok just fine without it. I just tried a try-catch - not something I'vve use before - if anyone wants to step in, in the next hour, feel free to do so... I'll publish a fix today hich may or may not include moon functions. Feb 11, 08:10
  • Big Timer by Luca Pacchin: I was working on a flow with bigtimer, suddenly the node red started to restart in a loop: 11 Feb 02:31:59 - TypeError: Cannot read property 'getHours' of undefined at bigTimerNode. (/opt/node_modules/node-red-contrib-bigtimer/bigtimer.js:205:23) at emitOne (events.js:116:13) at bigTimerNode.emit (events.js:211:7) at Timeout._onTimeout (/opt/node_modules/node-red-contrib-bigtimer/bigtimer.js:866:9) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! hassio-addon-node-red@ start: `node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js"` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the hassio-addon-node-red@ start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2019-02-11T01_31_59_911Z-debug.log > hassio-addon-node-red@ start /opt > node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js" 11 Feb 02:32:05 - [info] Welcome to Node-RED Updated to 2.1.5 in config: "npm_packages": [ "node-red-contrib-bigtimer@2.1.5" ], but same problem I had to disable bigtimer manually in /config/node-red/.config.json and then node red starts normally Feb 11, 01:46
  • Big Timer by Timo: Same here, bigtimer makes nodered crash suddently :-/ node-red_1 | 11 Feb 00:34:47 - [red] Uncaught Exception: node-red_1 | 11 Feb 00:34:47 - TypeError: Cannot read property 'getHours' of undefined node-red_1 | at bigTimerNode. (/usr/src/node-red/node_modules/node-red-contrib-bigtimer/bigtimer.js:205:22) node-red_1 | at emitOne (events.js:96:13) node-red_1 | at bigTimerNode.emit (events.js:188:7) node-red_1 | at Timeout._onTimeout (/usr/src/node-red/node_modules/node-red-contrib-bigtimer/bigtimer.js:866:9) node-red_1 | at ontimeout (timers.js:386:11) node-red_1 | at tryOnTimeout (timers.js:250:5) node-red_1 | at Timer.listOnTimeout (timers.js:214:5) node-red_1 | Feb 10, 23:40
  • Peter Scargill Devices recently connected to the network by Peter Scargill: No idea ā€“ Antonio put me onto fing, Iā€™m new to it myself. Feb 10, 23:13
  • Brian Gentles Devices recently connected to the network by Brian Gentles: Hello Mr Shark other permission problem to make entries in rc.local have not managed that always refused also in my Public file the session files are owned by root, all my files are pi regards Feb 10, 22:17
  • Brian Gentles Devices recently connected to the network by Brian Gentles: Hello Mr Shark my problem was permission to access my own fing.sh file I created to start fing from my dashboard. regards Feb 10, 22:09
  • Brian Gentles Devices recently connected to the network by Brian Gentles: Hello Pete help required. I have set up in node-red dashboard an exec with button which I use to start fing running by ./fing.sh, works fine and I get a pid number, also the dashboard displays the table and updates every 1 minute. now I want to stop this by another button. The trouble for me is the PID number changes so I must kill the process by name. I tried # pkill fing but nothing happened and got a return 0 Anyone an idea how to terminate this process???? Feb 10, 22:02
  • Azee The Script by Azee: Hi Pete, first thanks for the great work, i am silent user of your work for a while now and now finally want to start my iot system at home. and here is my question(s)! first i install your script without "Grafana and Influxdb" and after seeing the Andreas Spiess video i decided to install the "Grafana and Influxdb". while only checking the "Grafana and Influxdb" option ,it output " E:Unable to locate package grafana Failed to start influxdb.service no such file or directory . . " (more in attached screenshot) it seems bit strange to me, that it can't find the package,where it clearly getting something from the repo. now as a last resort i am willing to start over but i saw another strange command (i might be wrong here šŸ™‚ ) in the script and at "Installing Grafana and Influxdb" for both debian 8 and 9 you are using same repo $VERSION_ID = "8" && echo "deb https://repos.influxdata.com/debian jessie stable" $VERSION_ID = "9" && echo "deb https://repos.influxdata.com/debian jessie stable" where influxdata have a specific repo for the debian stretch "deb https://repos.influxdata.com/debian stretch stable" so just to understand is there a specific need to use "jessie" for debian 9 as well? *i am using debian9.7 on a VM Feb 10, 20:15
  • Big Timer by Richard: Just had the same issue as above. Seems I have to have the node Suncalc installed else Node-Red crashes. You do have it listed as a dependancy but I wasn't expecting it in an update. Feb 10, 17:23
  • DrFragle and MrShark Devices recently connected to the network by DrFragle and MrShark: what problem did you have with permissions? Usually starting from script (so they're already correct) and updating as usual with npm does not change them... i know what 777 (and 666 šŸ™‚ ) means, as a long time "penguin", and both are "evil" in the eyes of a unix taleban... better to use 775 and 664, and change the group of the desired files/folders accessible to that group (in which put the owner of the files/folders), than opening the "legs" to the full world... but as i'm a pragmatic penguin and i know 99% of these installs are just for us (even wives use the ending part of all this work and regret if something is wrong, but don't mess with filesystems), and none will ever access our consoles, well, then even 777 and 666 can be useful in extreme cases... but KNOWING what those little numbers are is just good, you're right in pointing at articles like that... Feb 10, 17:21
  • Brian Gentles Devices recently connected to the network by Brian Gentles: hello Pete thanks for the work you and Mr.Shark have done on setting up this project. Have managed to get it all done as per your instructions on my setup via "The script" No problems except my permanent one of permissions. Have the output into a template on my node-red dashboard. Have at last cracked my problem of permissions and owner in Linux . This site has the best description of chmod I have seen maybe of interest to others with similar problems. https://www.maketecheasier.com/file-permissions-what-does-chmod-777-means/ Feb 10, 15:47
  • Big Timer by Taudio: I found solution by adding a delay, which limits msg rate to 1/s and drop intermediate messages. Now everything is working as it should! Posting, as it may help others noobs=) Feb 10, 13:45
  • Big Timer by Taudio: I have some problems with my idea above. Big timer is working like it should when receiving button inputs like timer 5, default and manual off. I get problems with my "function". On-off from Bigtimer goes into counter and then into switch, which only send forward values above 10. These values go into Change node and after that into the manual off button. If i debug without wires to Big Timer, everything is working like it should, and I get command manual off, when counter is above 10. When last wire is connected to Big timer, program get into a loop which causes crash. I tried to get around with a help of a friend and javascript, but we came to the same problem. Any ideas? Feb 10, 11:13
  • DrFragle and MrShark The Script by DrFragle and MrShark: new video by Andreas Spiess who uses the script to install a grafana/influxdb setup šŸ™‚ https://www.youtube.com/watch?v=JdV4x925au0 Feb 10, 08:10
  • Big Timer by Taudio: Hi Peter, you did an excellent work on the Big Timer. It is very simple to use, with some nice options. I will use it with a pump (relay) to water my plants. Plan is to have a large 20L container of water and pump 2L daily, so water supply should be good for 10 days. I dont plan to forget that container should be filled, but im thinking on simple counter to 10, which will send Big Timer manual off command, when value is 10. This way, pump wont run without water, and I will have information on how much water is left in the container. Thanks again for Big Timer! Feb 9, 09:00
  • Devices recently connected to the network by Chris B: Very true, must reset up my pi. Pop it away. The updates will be a killer. Feb 8, 23:09
  • Leo Van der Hoek The Script by Leo Van der Hoek: Just to clarify.! By some reason the bcryptjs folder was owned by root.root when I got the problems. And there were more directories with it. No idea what went wrong, but that was with a system that would not update at all! That was a few weeks ago. Now things behave normally again. The setting of bcryptjs to root.root was to try to force the error again, but no error happened. So I forget it, think it was a glitch somewhere in the setup. Feb 8, 16:13
  • Phone Charging Epiphany 2 by Patrick Callahan: just search adsa.com for "powerlife" -Pat " I can find anything." Feb 8, 14:09
  • Peter Scargill Big Timer by Peter Scargill: Sorry didnt quite understand that. which 2 lines dis you add and below what line?? Feb 8, 14:00
  • DrFragle and MrShark The Script by DrFragle and MrShark: all node-red setup is run as pi.pi, so setting it as root.root is just an error, we never said to do that... in case, just change owner before doing updates or installs: sudo chown -R pi.pi ~/.node-red that's a tilde, not an hyphen... ALT 126 on keypad to do it Feb 8, 13:49
  • Leo Van der Hoek The Script by Leo Van der Hoek: :)) Feb 8, 13:37
  • Leo Van der Hoek The Script by Leo Van der Hoek: Sorry to say, but I had serious trouble both with PM and npm. I tried now with root.root and installed blockly without trouble. Probably another problem and a wrong fault message when I ran into trouble. In your update script bcryptjs is changed to pi.pi with all the others in node_modules and there are no problems with that. BTW I will never install the extra nodes anymore other than the ones I need, there are to many deprecated nodes in this NR v10. The menu could have an extra choice for this. Feb 8, 13:36
  • Big Timer by Jason Devine: I added a couple of lines in the switch statement looking for end timer offset so that these values could changed with node red on the fly. Perhaps you might consider adding this small feature change to the main version. Only took 2 lines of code to add. .."switch (theSwitch[0]) { case "sync": goodDay = 1; change = 1; break; case "sunsetoffset" : actualEndOffset = parseInt(theSwitch[1],10); break; case "sunriseoffset" : actualStartOffset = parseInt(theSwitch[1],10); break;" or somethinglike that Feb 8, 13:03
  • DrFragle and MrShark The Script by DrFragle and MrShark: that's used just to manage credential encryption... leave it there as it is and live happy, or update it via npm, look at command in script Feb 8, 12:40
  • Peter Scargill The Script by Peter Scargill: I've removed the first one in each case. Feb 8, 12:12