Feed

  • Scott Macias Uninterruptible Supplies by Scott Macias: Well Pete, I purchased the 12V UPS, https://www.banggood.com/DC-12V-2A-Mini-UPS-Power-Supply-On-line-Type-Battery-Pack-Short-Circuit-p-1110999.html?rmmds=category so I can use it for my NEO2. Per instructions I charged it and then hooked up my WiFi router and it seams to perform as a real UPS. It does charge and provide power at the same time. I do have to check what happens when the battery dies and mains comes back on. More to follow. Aug 24, 03:09
  • DrFragle and MrShark Colour OLEDS by DrFragle and MrShark: Squix78 just rotates screens every n seconds, it may be enough Aug 23, 22:52
  • Peter Scargill Colour OLEDS by Peter Scargill: Well now Christ that is good, hard information... so we need to consider in all of our designs how to make this cute, inexpensive displays last longer - thankfully there is no backlight to consider - it is merely a case of ensuring that any one pixel does not get over-used... Hmmm. Aug 23, 21:39
  • John Grafana and InfluxDB by John: Thanks, I'll do that. Aug 23, 19:41
  • DrFragle and MrShark Grafana and InfluxDB by DrFragle and MrShark: No need, you can just update, using my script for example... https://gist.github.com/fragolinux/412aa50683eb32bb879a120c73110938 You can use this other to backup etc, node red, sqlite to a dated folder, before updating: https://gist.github.com/fragolinux/e66148f3cf7244130058fb626c6b7c67 Aug 23, 19:34
  • John Grafana and InfluxDB by John: I'm sure it's been asked before but.. I have a working Pi3 all set up with Mqtt, Node red etc from an earlier script. What happens if I run the most recent script over the top of it? Will I lose my customization? Aug 23, 18:47
  • Colour OLEDS by Chris Huffine: I have one that has been running for about 18 months 24/7 displaying a series of water temperatures; there are clearly "burned" out parts of digits that didn't change regularly. Now I'm looking for an inexpensive "proximity sensor" that would turn on the display only when somebody is close enough to actually read it. Aug 23, 18:47
  • Peter Scargill Colour OLEDS by Peter Scargill: But too expensive to consider - the 180x240 LCDs are way better deal compared to that price. Aug 23, 15:02
  • Peter Scargill Colour OLEDS by Peter Scargill: Yes absolutely - another couple of bands and you could make a half-decent space invaders. Aug 23, 15:01
  • DrFragle and MrShark Colour OLEDS by DrFragle and MrShark: mmm... these seems multicolor, but every image uses always the same clock, so can't say... https://it.aliexpress.com/item/Free-Shipping-0-95-inch-7pin-Full-Color-65K-Color-ssd1331-OLED-Display-3-3v-5v/32646204260.html even cheaper: https://it.aliexpress.com/item/7PIN-0-95-inch-full-color-OLED-Display-module-with-96x64-Resolution-SPI-Parallel-Interface-SSD1331/32821039755.html Aug 23, 14:53
  • DrFragle and MrShark Colour OLEDS by DrFragle and MrShark: make me think at the first arcade games when the monochrome crt was actually covered with different colored transparent bands to delimitate the areas 😀 i've a xiaomi miband 2, and they have a different approach: when you turn your wrist as you was looking at it, the display turn on for about 5 seconds... so actual ON time is very limited, and they last at least 2 or 3 weeks... Aug 23, 14:47
  • Peter Scargill Cheap as Chips Touch Switch by Peter Scargill: Oh, so you've spotted the cop-out "send a video" messages!! Erm, well, I bought 20 of those chips and I've only tested the first one but I don't get that issue - I get either too insensitive - or if you leave it on a while, too sensitive... but they work. Had one on for a week now... Aug 23, 14:28
  • Peter Scargill Colour OLEDS by Peter Scargill: I had a feeling they did - maybe that's why they're so cheap... still 15k hours... that's 2 years 24/7... I wonder what happens if you dim them... having them run partial brilliance until a button is pressed would be easy... Aug 23, 14:21
  • Colour OLEDS by Chris Huffine: Just note that these OLEDs have a relatively short lifetime and when displaying repeated information will slowly degrade and "burn out" ... The number I find on Wikipedia is 15k hours Aug 23, 14:02
  • Steve Lenehan Cheap as Chips Touch Switch by Steve Lenehan: Hi Not sure if its the same problem but I have just had a batch of 20 of these non backlit switches and of the ones I have tested they have all failed. As soon as you power them up the LED is very bright (3.3 or 5V) and the sensor pin shows a continuous high reading regardless of attempts to change the state of the switch. No noticeable overheating however but the chip is marked 8233. I am just waiting for the repeated "send a video" requests but at least they were cheap - on the other hand the backlit switches work very well. Aug 23, 11:29
  • Banana Pi Zero by tkaiser: Yeah, EVO+ with 32 or 64 GB seems still to be best choice for reasonable (random) IO performance at a good price on most SBC (where the SD card interface is a bottleneck anyways). But the recommendation to test them immediately and to buy only where you can return the goods or get a refund with 'no questions asked' seems also important since we had some reports recently of EVO/EVO+ behaving very strange with SBC (too slow, getting corrupt) so maybe fraudsters reached next level and concentrate more on Samsung counterfeit cards these days since they got so popular? Aug 23, 09:27
  • Roy Gilby Grafana and InfluxDB by Roy Gilby: How to Re-Configure The Default Port for the armbianmonitor Daemon. The armbianmonitor daemon is called rpimonitord. Edit the following rpimonitord script: sudo nano /usr/bin/rpimonitord Search for the following line, and change the "8888" to a network port number that does not conflict with any otherports already in use on your computer. $this->{'daemon'}->{'port'} ||= 8888; The network port that rimonitord is listening on is mentioned two other times in the script, but these mentions are in comments. For completeness, search for these other two mentions of "8888" and make the same port number changes. Rebooting the computer seems to be the easiest way to ensure that the rpimonitord Daemon has closed any previous instances, and is now listening only on the newly specified port. Armbianmonitor then starts up (in my case) on http://localhost:8778, whilst Chronograph then starts up successfully on http://localhost:8888. Now, it's onto trying to make use of these applications. Many thanks, RoyG Aug 23, 00:04
  • Peter Scargill The Wall Display by Peter Scargill: I have to make assumptions here - that you either compiled the code or got the latest from roms.scargill.net in the last few weeks - as earlier versions of the software certainly would not understand that stuff. But - I see you ARE using an old version.. current version is 2.2.02 August 2017 and though the link you've suggested will take you there, better to use roms.scargill.net Aug 22, 20:39
  • Keith Howell The Wall Display by Keith Howell: Hi Pete, OK - done that. Sorry to be a pain but I have another problem... As I understand it, I send a command to the ESP8266 by serial or MQTT like this... {qd_string:"$S$P10,10;$C255,255,255;Hello\n$T\n$D$B0,0,255;$I80,80,30,30"} Regretfully, the serial terminal reports "Did not understand qd_string". This happens when I send the command by serial or by MQTT. I get the same error with:- {ssd1351:"$S$P10,10;$C255,255,255;Hello\n$T\n$D$B0,0,255;$I80,80,30,30"} {ssd1306:"$S$P10,10;$C255,255,255;Hello\n$T\n$D$B0,0,255;$I80,80,30,30"} I am using version 1.9.33 from roms.webutu.com Any ideas please? Aug 22, 20:29
  • DrFragle and MrShark Raspbian Stretch and GPIO Utility Fix by DrFragle and MrShark: Possible problems, in case we need to address these in script... http://madlab5.blogspot.it/2017/08/raspbian-stretch-renames-network.html Aug 22, 19:35
  • DrFragle and MrShark Banana Pi Zero by DrFragle and MrShark: usual samsung evo+ is ok, right? 32gb is quite cheap these days: https://www.amazon.it/gp/product/B06XFSZGCC/ Aug 22, 15:22
  • Banana Pi Zero by tkaiser: For the camera connector the same applies as with their other device directly targeting RPi sales: incompatible: https://forum.armbian.com/index.php?/topic/4864-banana-pi-m2-berry/ Same with software of course but since it's based on H2+ (which is pretty much the same as H3) software support is already pretty mature: https://forum.armbian.com/index.php?/topic/4801-banana-pi-zero/&do=findComment&comment=36464 With a board that small heat dissipation is always an issue so we'll have to see at which voltage they feed the H2+ SoC -- with their other H3 board (BPi M2+) they 'forgot' voltage regulation feeding the SoC all the time with 1.3V which results in poor performance since throttling way too early. Wi-Fi shouldn't be an issue, it's AP6212 (same chip as on RPi 3 or Zero W) so combined with an external antenna and with powermanagement deactivated (important!) you will get fairly good ping times and the usual 40 Mbits/sec over short distances. ALLNET is german distributor and this is their direct shop so you get already an idea about pricing: https://www.innet24.de/Makerspace/Single-Board-Computer/Banana-PI/Banana-Pi-Board-BPi-M2-Zero::146315.html Wrt 'script performance': choose a good SD card with high random IOPS and it will be fast, take a crappy card and it can take ages. 🙂 Aug 22, 13:00
  • DrFragle and MrShark Grafana and InfluxDB by DrFragle and MrShark: look in /etc/armbianmonitor if there's a config for the web interface Aug 22, 12:02
  • Roy Gilby Grafana and InfluxDB by Roy Gilby: Pete, I ended up installing and purging InfluxDB, and reinstalling using information from this site: http://www.d0wn.com/influx-db-1-2-0-on-armbian-or-raspberry-pi/ The influc command line tool then appeared, and I was able to create the database that I needed for Grafana. And, I was then able to configure that DB in Grafana, and that all works. So, time permitting, I should be able to start pumping some data into the system in the day or so from my personal weather station, and then we'll see what Grafana can do - or probably more accurately, what my old age brain can make of Graphana. I suspect that the problems I've encountered with installing Grafana and Influxdb on Armbian on the O Pi have been a result of out of date or broken packages. Chronograph installs and runs OK on the O Pi. There is plenty of English language doco for Chronograph at https://docs.influxdata.com/chronograf/v1.3/introduction/. I just have to get Chronograph to listen on a port other than 8888, as that is the same port that the OrangePi Monitor program listens on. Just been trying to work out how to change the port number or uninstall OrangePi Monitor, or alternatively change the port number that Chronograph listens on. As yet unsolved, but the doco for Chronograph looks good, so I'm sure the answer is just waiting to be read. Anyway, that's a job for Wednesday. Regards, RoyG Aug 22, 11:47
  • DrFragle and MrShark Grafana and InfluxDB by DrFragle and MrShark: oh, usually if the command line influx is not there, you're using an old package... check if it's 2.6.0: dpkg -l | grep influx you need newer version for the cli utility, use script in this page Aug 22, 10:58
  • DrFragle and MrShark Grafana and InfluxDB by DrFragle and MrShark: on an ORIGINAL pi, you can use the script in this page, we tested it on both raspbian jessie and stretch... influx will work on ubuntu based distro, too, but grafana not for now, can't find an updated package nor their src.deb ones, and don't want to go down the road of standard compile... nor we can find arm64 packages, so add your request for them to the link in my other comment, thanks 🙂 Aug 22, 10:57
  • DrFragle and MrShark Grafana and InfluxDB by DrFragle and MrShark: everybody, you can push the author asking for arm64 support, as me and Peter did: https://github.com/fg2it/grafana-on-raspberry/issues/16 Aug 22, 10:53
  • Roy Gilby Grafana and InfluxDB by Roy Gilby: Pete, I've got Grafana up and running using the link in my previous reply. Just working on InfluxDB now. InfluxDB serviceis running, but the influx command line tool isn't installed .... so that's the next step. RoyG Aug 22, 10:46
  • Ulf Holt LCD Display for Node-Red by Ulf Holt: After some digging, I finally found the answer. Took some time to find where to look, but I thing I'm starting to get a grip on how I can find what I need in your tons of information! Aug 22, 09:53
  • Peter Scargill Grafana and InfluxDB by Peter Scargill: Not having used an OrangePiPlus2 I can't tell you but if it is 64 bit, Grafana is not going to run and we can't find a 64 bit repository. I was trying to get it to run on a NEO2 (which would have been nice). Actually we did manage with some messing around to get InfluxDB running on the NEO2 but not Grafana - I was at it late last night and ended up with version 2.6 which is ancient and not very good. I note from the source that version 5 is there but not released - it would be really nice if they'd do official releases for ARM devices, 32 bit and 64 bit. Do let us know if you have any success. Aug 22, 08:01
  • Grafana and InfluxDB by Roy Gilby: Update ---- I managed to successfully complete the configuration if the influxdb service after a reboot. Then the grafana service refused to enable, plus further investigation showed that the grafana install has some errors that I hadn't noticed. I eventually did apt-get remove --purge grafana grafana-data. Then successfully did a reinstall of grafana from this link ..... http://www.d0wn.com/install-grafana-4-on-a-pi/ Both applications seem to have installed OK. Now to do some testing. Many thanks for the lead. Grafana will fit very nicely into two of the projects that I've got underway at the moment. Somehow, your posts often seem to come up with relevant info just at the time I need that info 🙂 Thanks, Roy Gilby Aug 22, 08:01
  • Grafana and InfluxDB by Roy Gilby: Pete, Just ran this script on an OrangePiPlus2 running Armbian. Just trying to work out whether I've struck an Armbian only error, or not. When enabling influxdb, an error is returned ...... Executing /lib/systemd/systemd-sysv-install enable influxdb Failed to execute operation: Too many levels of symbolic links Just out of interest (NOT looking for technical support from your good self !) - Did you see this (or a similar) error when you were developing this script ? If not, then I'll assume that the error is either Armbian specific, or maybe OrangePi hardware specific. My gut feeling at the moment is that it is Armbian specific, and probably relates to the specific versions of the packages available under Armbian. Anyway, I'll let you know when I've got it working - the info might be useful to other OrangePi users. Regards, RoyG Aug 22, 07:30
  • Ulf Holt LCD Display for Node-Red by Ulf Holt: Hi Peter. First of all, thank you so much for all the information you are supplying! I have been reading and experimenting, and I have so far been able to import your code, but I have problems with the fonts. Have copied the font files to /myfonts and set the owner to pi.pi, but does not seem to work. Do I need anything else than the .woff files in the directory? Best regards Ulf Aug 22, 06:24
  • Neil Cherry Nano I2c Peripheral by Neil Cherry: It's not up to my usual coding standards but I always seem to be tired lately so rather than wait I'll post and fix as I go. I know the timeout logic is a bit off (but it works). I've updated the README, found interesting translation other code (not used) and found some information on the sending format. Should be useful for interpreting also. Aug 22, 03:45
  • Keith Howell The Wall Display by Keith Howell: Many thanks Pete, much appreciated. Aug 21, 21:42
  • DrFragle and MrShark LCD Display for Node-Red by DrFragle and MrShark: problem is that generic javascript books and courses are mostly pointed to web development, while this, even if same language, requires different skills and features addressed, and there are not so many good books or courses on THIS javascript kind of development... if anyone knows something, well appreciated, i'm still learning 🙂 Aug 21, 15:55
  • DrFragle and MrShark Nano I2c Peripheral by DrFragle and MrShark: thanks, starred the git repo, i've not my blackbean with me now Aug 21, 15:51
  • DrFragle and MrShark Raspbian Stretch and GPIO Utility Fix by DrFragle and MrShark: can't understand why on earth a binary should be in main / directory... Aug 21, 15:51
  • Peter Scargill Raspbian Stretch and GPIO Utility Fix by Peter Scargill: Thanks Mike - that would likely also do.... the utility will be fixed soon anyway now the author knows there's a bug. Aug 21, 15:11
  • Raspbian Stretch and GPIO Utility Fix by Mike Donovan: Make a symbolic link at /usr/sbin/i2cdetect pointed at the real executable at /i2cdetect: ln -s /i2cdetect /usr/sbin/i2cdetect ...and the unmodified "gpio" code should now be able to find it. More information about symlinks: https://kb.iu.edu/d/abbe Aug 21, 15:06
  • Peter Scargill LCD Display for Node-Red by Peter Scargill: For this environment - learning Javascript (with emphasis on node-js - well worthwhile - you can take advantage of Node-Red visual wiring and pre-build nodes - while using your own functions to go deeper... Aug 21, 15:01
  • Ulf Holt LCD Display for Node-Red by Ulf Holt: Hi Peter I see I have a LONG way to go. I started to dig into C# some months ago, and I'm able to do some simple programming, but still a lot to learn. Next step is Java. My goal is to be able to get input to Raspberry Pi so I can set start and stop time (scheduling) for different items on and off from the user interface in a simple way. This is, of course, not difficult if I do it from the management window, but the user should be able to do this from a simple ui. Not asking you for advice - just to inform you, and as I told you, I feel I have a long way to go. All the best from Ulf Aug 21, 14:59
  • Neil Cherry Nano I2c Peripheral by Neil Cherry: I've posted my initial code (nasty code, with some hard coded values), pre-alpha. It's posted here: https://github.com/linuxha/Broadlink-RM3-MQTTBridge I've not taken the raw data from the RM3 and converted it into a consistent string. Not sure how to approach that yet. More learning to do. Aug 21, 14:58
  • Peter Scargill Raspbian Stretch and GPIO Utility Fix by Peter Scargill: More specific Mike please, I'm not a Linux expert. Aug 21, 14:57
  • Raspbian Stretch and GPIO Utility Fix by Mike Donovan: Wouldn't a symlink solve this too? Aug 21, 14:40
  • DrFragle and MrShark LCD Display for Node-Red by DrFragle and MrShark: https://www.youtube.com/watch?v=11glVONlXR8 https://www.youtube.com/watch?v=XL9Ri8pO68w https://www.youtube.com/watch?v=PwsigsH4oXw Aug 21, 12:08
  • Peter Scargill LCD Display for Node-Red by Peter Scargill: In order to use the function nodes you should be familiar with Javascript. Aug 21, 11:37
  • Peter Scargill LCD Display for Node-Red by Peter Scargill: Hi there Ulf Teaching programming is beyond the scope of this blog - if any readers care to help - then by all means. You need to study how to use the Node-Red Dashboard (there are plenty of videos out there) and how to use functions within Node-Red. Pete. Aug 21, 11:36
  • Ulf Holt LCD Display for Node-Red by Ulf Holt: Hi Peter. I'm not very experienced on Node-RED - been trying for a few days, and have installed bigtimer which works like a dream! Now I want to try your LCD contribution - have found the code, but don't know what to do with it. I'm sure this is very basic, but since I'm not familiar with the concepts, I'm lost. Found nothing I could use on google. I guess the code should go into a file, but which? Best regards Ulf Aug 21, 11:30
  • The Sonoff B1 by Jan-Dirk Schuitemaker: Ah, okay. Thank you! Aug 21, 08:55
  • Peter Scargill Grafana and InfluxDB by Peter Scargill: No, you're not missing the obvious - I forgot. Now corrected - hit refresh 🙂 Aug 21, 08:35
  • Steve Lenehan Grafana and InfluxDB by Steve Lenehan: Apologies if I'm missing the obvious but I can't see a link to the installation script. Aug 21, 08:22
  • Steve Lenehan The Sonoff B1 by Steve Lenehan: They're not - they are IR controlled which I integrate into my home control system using a Blackbean mini 3 and Node-Red. Aug 21, 08:19
  • The Sonoff B1 by Jan-Dirk Schuitemaker: Steve, do you know if the bulbs you refer to are ESP8266 based? Aug 21, 07:29
  • Peter Scargill The Wall Display by Peter Scargill: From the top of the s6d01a1.c file in my code (and this is only the way I have chosen to do this.. // In this SPI Driver: // WEMOS D6 ESP8266 GPIO12 is MISO (din) - not used here // WEMOS D7 ESP8266 GPIO13 is MOSI (dout) // WEMOS D5 ESP8266 GPIO14 is clock // WEMOS D8 ESP8266 GPIO15 is CS/SS = not used here - assume that CS tied low, reset is tied to Processor reset // WEMOS D0 ESP8266 GPIO16 as the D/C line. // 5v power and ground and also 3v3 to the backlight - NOT 5v to backlight What you are referring to as DIN would be connected to WEMOS D7 ESP8266 GPIO13 Aug 21, 01:48
  • Keith Howell The Wall Display by Keith Howell: Pete, I'm really impressed with your work on this display. I bought a couple and they've just arrived from China. I wonder if you'd mind giving me a teensy bit of help please? I'm not sure about the connections from the display to the ESP8266. Here's what I know and what I'm missing;- Display_________ESP8266 1. RST__________Reset 2. CS - to ground_ NC 3. D/C__________?? 4. DIN__________?? 5. CLK__________?? 6. VCC__________5V 7. BL___________ 3.3V 8. GND_________ GND Many thanks Keith Aug 20, 16:59
  • DrFragle and MrShark The Script by DrFragle and MrShark: You did, indeed... Nowhere is written that you can take a vm install and port on a SBC... A vm is just an other option, for who doesn't need a physical board... Aug 20, 08:24
  • The Script by Leo van der Hoek: Now I can see how many wrong turns I took in my run on the VM installation. It is very nice and helpful. You have that so fast great work! Aug 20, 08:20
  • The Script by Leo van der Hoek: I am lost. What is the purpose of running on a VM? I made a wrong conclusion it can be used to flashed to use as home controller on the tested hardware? Aug 20, 08:12
  • DrFragle and MrShark The Script by DrFragle and MrShark: Full walk through of a vm install in vmware, Peter please add to article http://imgur.com/a/X8xLi Aug 20, 06:50
  • DrFragle and MrShark The Script by DrFragle and MrShark: You can't... Flash latest raspbian, run script, done Aug 20, 06:44
  • The Script by Leo van der Hoek: NOTHING BIG WRONG WITH THE SCRIPT! Rest assured it is almost flawless. unattended in the VM in 18 minutes on my 6 year old PC(a bit pimped SSD 8GB RAM) I was following the instructions in the blog and it is not in sync with Ubuntu UI messages. When I start installing Ubuntu I am asked to make a user account and there I used my standard username. I think one should use pi as a user and set the pw at that point. Then the script will start without the extra round because there is a pi user. I tried this big command(found in your text) to create a pi user and I got all kind of strange errors. I am not a Linux guy and I tried to create the user with the User menu in the settings and that was not clear to me. Then Antonio got irritated by my complaints and I realised I had seen this earlier with another try that the script creates the pi user in the first round and then can be started and run to the end. The text just above Bash script just did not fit for Ubuntu. I think it was written with another linux version when you first made the blog for VM installation. All things very confusing root, pi user admin(later on in the script) Now I have run The Script and have a VM with Ubuntu. How should I produce an image for my pi3 from that? Convert .vmdk to .iso? Can I boot it then? Aug 19, 22:13
  • Bob Green The Script by Bob Green: Peter and Mr Shark, Thank you for the 'script' and the set up of the VM, I used virtual box. I had one issue and that was when I went to install Ubuntu I could only see 32 bit files despite me having a 64 bit Windows 10 machine. This problem is caused by hyper-V being disabled in the BIOS. There's quite a lot of information about that on 'Google' and once I found the correct location in the bios and enabled that functionality I could see the 64 bit files in the virtual box set. I think where Leo is getting confused, as was I, is that Peter's excellent video describes the Virtual box install whereas the blog text describes the VMWARE version, which of course it states. In my case once I had the issue of the missing 64 bit files solved I followed the video and everything installed perfectly and after installation everything runs perfectly. I put a BigTimer flow on the virtual machine and used MQTT to send the data to MQTT-spy running on my Windows 10 desktop PC, in fact the same physical machine that also has the virtual machine. Windows and Linux in harmony! Incidentally it 16 minutes to run the 'script' and load everything onto the virtual machine. A super job in getting the script to be so easy to use and so versatile. I am very new to Linux so it is a big help to install so much software easily. Aug 19, 22:01
  • Peter Scargill The Script by Peter Scargill: You've lost me Leo - the script works well for a bunch of different systems - most of which are noted in the comments at the start. Don't deviate from simply running the script - or we can't help. Aug 19, 21:51
  • DrFragle and MrShark The Script by DrFragle and MrShark: no, the script is tested on many different system, and will work on a gui system (ubuntu for sure), too, if only it's run as it's advertised to be run... Aug 19, 20:30
  • The Script by Leo van der Hoek: Sorry but this is still in the blog with a lot of other stuff not useful because this was for one specific system accurate. I will run The Script and then it should be OK. Aug 19, 20:18
  • Ion Ciubotaru Ikea Solar Installation by Ion Ciubotaru: All Europe is full of solar panels. From north to south, from west to east there are square miles of solar panel. The profit is coming from green certificates, all those companies get green certificates from EU, then they sell them to companies responsabile for pollution (refineries, heavy industry) This is the only profitable business with solar energy. Selling only the solar energy never return the investment. To build your own solar filed needs lots of approvals, and it is available only for certain companies. The EU green certificate program doesn't accept new members in the last 2 years. Aug 19, 19:50
  • DrFragle and MrShark Mongoose OS by DrFragle and MrShark: a good example of mqtt+deep sleep, an equivalend to amazon Dash buttons https://www.youtube.com/watch?v=ImVK5cGVrpQ Aug 19, 19:50
  • DrFragle and MrShark The Script by DrFragle and MrShark: last comment, then i surrender: WHY ARE YOU RUNNING THOSE LINES BY HAND??? Instructions are CLEAR: login with whatever user you want, create a file, paste the script, save, give permissions, run it... if logged in user it's not pi it will be created, if it's pi it will be updated with needed permissions, then you have to login as pi and rerun the script and answer some VERY basic questions, PERIOD! DON'T OPEN THE SCRIPT, LEAVE IT THERE AS IF IT IS A BLACK BOX! RUN IT, NOTHING ELSE! Aug 19, 16:19
  • The Script by Leo van der Hoek: Took away the invalid option -g., next problem >>> root@Ubuntu-VM:/home/hoekbrwr# adduser --quiet --disabled-password --shell /bin/bash --home /home/pi --gecos "User" pi echo "pi:password" | chpasswd usermod pi sudo echo "pi ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/pi chmod 0440 /etc/sudoers.d/pi adduser: Only one or two names allowed. <<< I think I already had to define the pi user during installation of the OS! That's it for today... Tomorrow more tries. It is not as easy as it looks. All the details in the text are useless because with every other OS installed things look different to the blog text. Aug 19, 16:00
  • DrFragle and MrShark The Script by DrFragle and MrShark: honestly, don't know what the h... are you doing... why create the pi user from menu, if script creates it itself? and why not just creating it during install... and, repeat, customizing the graphic part of ubuntu is beyond this blog, there are TONS of tutorials online on how to do... why are you running those lines by hand and not by script? Restart from scratch, do a textual install, install the script, then do whatever you want with gui, not relevant for the script functionalities Aug 19, 15:58
  • The Script by Leo van der Hoek: I followed creation of pi. HOwever there is a problem! >>> root@Ubuntu-VM:/home/hoekbrwr# adduser --quiet --disabled-password --shell /bin/bash --home /home/pi --gecos "User" pi echo "pi:password" | chpasswd usermod pi -g sudo echo "pi ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/pi chmod 0440 /etc/sudoers.d/pi chpasswd: invalid option -- 'g' <<< What is going on? I have created pi user as administrator through menu, but cannot let it login automatically. Slow boat to China.... Aug 19, 15:44
  • John Moran Ikea Solar Installation by John Moran: Hello Curlywurly No, that's probably right, but after the loan finishes, you still get £1,200 a year saving for the next 15 years - or have I missed something here? Aug 19, 15:16
  • Pete Curlywurly Ikea Solar Installation by Pete Curlywurly: Hi John, Thanks for the metrics - very interesting - a £10K loan over 10 years works out about £1.2K per annum - in other words, no difference in monthly spend (if all things stay the same) - or have I missed something here (other than maintenance cost) and an immediate drop in bills after 10 years?? I would have thought this would be ideal for you Pete - for when you arn't in the UK - using the sun on an empty house to earn money while you are abroad 🙂 ? Aug 19, 15:12
  • Coding the Nextion by Seghier Abdelaziz: very nice can you show step by step how to control sonoff and the software used ? Aug 19, 15:10
  • The Script by Leo van der Hoek: Cannot resize window. Something to do with display adapters not yet initialised. I must update Tools. I will start from scratch again. I took away 3D feature. Aug 19, 14:42
  • DrFragle and MrShark The Script by DrFragle and MrShark: nothing to do with script, but try pressing enter where it says amsterdam, or press tab+enter... sorry, don't know, use larger windows... or do the textual setup when it asks at beginning... you'll still have graphic once finished... https://tutorials.ubuntu.com/tutorial/tutorial-install-ubuntu-desktop#7 Aug 19, 14:31
  • The Script by Leo van der Hoek: Sorry to say. In VMWare Workstation 12 I am stuck at the globe asking for timezone. The flatted globe does not fit into my little window "Where are you". I only see a part of a unactivated button and that's where I am no further actions possible ESC ctrl-c Tab nothing! What is the trick to get out of that situation? see also png There is a message which asks for Install Tools and that seems the only way out circumventing all following settings. Aug 19, 14:29
  • The Script by Leo van der Hoek: So at last xenial is a little advice! So I take the desktop version as I am a linux illiterate. So I got this one: ubuntu-16.04.3-desktop-amd64.iso Aug 19, 14:03
  • DrFragle and MrShark The Script by DrFragle and MrShark: masked friend, lol 😀 well, ubuntu is more up to date, so in vm you can use ubuntu xenial or just standard debian 9, and let us know what you get... i prefer xenial, everytime 🙂 Aug 19, 13:48
  • Peter Scargill The Script by Peter Scargill: No advertising - simply mentioned that it exists (and hence WILL be with us) and so we modified the script accordingly. Which one you use is up to you. I'm upgrading my PIs. I just did the install on a Pi3 - had to modify a separate Grafana setup to get it to work but most other stuff seems just fine. Backed up the SD and now I have a Pi2 working on the same setup. Aug 19, 13:47
  • Peter Scargill The Script by Peter Scargill: I have various backup solutions! Aug 19, 13:45
  • DrFragle and MrShark The Real Raspberry Pi by DrFragle and MrShark: should on other too, but at the moment it's the only version available... dietpi still relies on jessie or xenial... the problematic boards could be the ones with arm64 arch... Aug 19, 13:45
  • Peter Scargill Ikea Solar Installation by Peter Scargill: Hi there It wasn't an assumption that all electronics last forever... I've been doing electronics since I learned to walk, so I do know it's limitations - modern stuff does tend to last a long time but your comments about stressed invertors noted. I don't think my maths was miles out for the Northeast however - and incidentally not everyone can have solar panels. Our last house was a listed building (our current one isn't) - and had an unlisted flat section. They could not fit on the listed bit - and did not want to know about the flat section.. may have been an isolated example of course. A friend of ours in the same village has also done his research and although he too eventually backed away from photovoltiacs due to our weather, he did fit hot water panels and they seem pretty good. Where I am currently in Spain of course it's a different matter - the only problem is - the Spanish government here get (in theory) uppity about you fitting solar panels without feeding back into the grid! Madness - http://www.mariscal-abogados.com/sun-tax-on-photovoltaic-systems-in-spain/ Aug 19, 13:27
  • The Script by Leo van der Hoek: I see you made an update for The Script. As I think I am behind in updating my existing Pi3 and Raspbian Jessie I thought let's try that VM method to create a new image with the latest version. Then the question what OS to use! I got lost. You sort of advertised Raspbian Stretch, but when I read the comments of your masked friend that is not latest and best technology to use ?????????????? A little advice would be appreciated here. Aug 19, 13:23
  • Ikea Solar Installation by John Moran: I had a top quality 4kWp system (16x250W) installed 3 years ago. It cost £8k and I was told it would save me £1,200 a year (half subsidy, half savings). I live in North Lincolnshire, just south of Hull. During the first month of operation it actually generated 4kW for about an hour one lunchtime, but 3 - 3.5kW is its usual peak. It has generated savings of almost exactly £1,200 a year and produced a total of 13MWh in that time. That gives me a payback of 6.7 years, or 13.4 years if you don't include the subsidy. Just for the record, the subsidy is an incentive to persuade everyone to start using an initially expensive technology, to kick-start it, and it is available to everyone, and encourage them to take advantage of something that will also help the planet - my system has saved 19T of CO2, as well as saving me £3,600. Finally, I would echo Ben's last comment - you get what you pay for. I specified top quality panels from Panasonic (they are hybrids that generate power from diffuse light as well as direct sun, albeit not as much, of course) and individual inverters made by ABB, these stop the entire array switching off when one panel gets shadowed. Also, if I may take exception to your assumption that all electronics will last forever - single inverters are highly electrically stressed pieces of kit, chopping 400v dc at 10A into 240v ac at 17A along with all the transients around the place, and are usually only guaranteed for five years, and that's usually when they fail as well, if you talk to some installers. My individual ones have 16th of the stress of a single one and are guaranteed for 25 years. And the whole system is monitored by ABB in Italy who tell you if anything looks problematic, but then my own ap. does the same thing. So, get decent kit, and the numbers work. And they would work even better when reasonably priced batteries are available, but that time isn't yet, I'm afraid. John Aug 19, 13:17
  • Peter Scargill The Real Raspberry Pi by Peter Scargill: As we now know, "the script" works on Stretch on a Pi3 at least. Aug 19, 13:05
  • DrFragle and MrShark Banana Pi Zero by DrFragle and MrShark: the benefits of being a good blogger 🙂 well, let's do the script up on it and let us know 🙂 Aug 19, 12:20
  • Peter Scargill Banana Pi Zero by Peter Scargill: It is BRAND new - you might have to wait a little while? (Sorry!) Aug 19, 12:17
  • DrFragle and MrShark Banana Pi Zero by DrFragle and MrShark: can't find where to buy one... aliexpress shop does not have it... Aug 19, 12:12
  • DrFragle and MrShark NanoPi Neo PLUS2 by DrFragle and MrShark: if you want to do network "stuff", mikrotik routers/ap are GREAT... this is the cheaper one: https://www.amazon.co.uk/Mikrotik-RB941-2ND-RouterBoard-hAP-Lite/dp/B00UR758BM/ you can use it in every possible way you can imagine: ap, bridge, client, repeater... at work i configured this as a central management unit: https://www.amazon.co.uk/Mikrotik-RB2011UiAS-2HnD-IN/dp/B00I4QFQDI/ which does vlan trunking to allow 5 different wan routers to reach the central firewall, and then i've other routers as the following to do the actual AP work, with different SSID (enterprise ap, standard ap and guest captive portal), all managed by the red one above, configured as CAP manager... they have a windows tool to search for them via udp and configure them very easily... you can put them in different spots in house to cover it fully, with a single large wifi network, without loosing signal when you move from an ap to the other... https://www.amazon.co.uk/Mikrotik-cAP-2n-Atheros-AR9331-AL1A/dp/B00OY4OPXG/ https://www.amazon.it/Mikrotik-RB951G-2HND-WLAN-access-point/dp/B00DBT6SIA/ Aug 19, 10:45
  • Peter Scargill Big Timer by Peter Scargill: Well spotted.. I THINK I've fixed it... 1.7.2 should be available to update very shortly. It is up there. Aug 19, 10:39
  • Peter Scargill NanoPi Neo PLUS2 by Peter Scargill: My experience - Orange Pi Zero WIFI is AWFUL. Low sensitivity. Aug 19, 10:33
  • NanoPi Neo PLUS2 by Igor Pecovnik: > Orange pi 0 with the latest Armbian accepts max. 10 wifi clients Orange pi 0 uses badly supported / bad quality XR819 wifi chip. You need to use Zero 2+ which uses the same or at least very similar Wifi chip as found on Rpi. I also can't confirm how many clients can accept, but it's possible that limit is the same as on Rpi3. Aug 19, 10:29
  • Peter Scargill Ikea Solar Installation by Peter Scargill: Might've been me just being overly sensitive early in the morning - I don't have the original but I noted something about me "so despising" something and figured it was being insulting - you'll note that there is very little aggression in the comments on the blog). Apologies if I deleted a valid set of comments... if you have the original, just re-send..... Aug 19, 10:07
  • DrFragle and MrShark Raspberry Pi Zero WiFi by DrFragle and MrShark: dropbear does not allow scp, and we have already a setup for php working on apache, redoing it for other web servers (that are not nginx, which is faster...) is not in any near future... Aug 19, 10:05
  • Peter Scargill Raspberry Pi Zero WiFi by Peter Scargill: Pass - must've read an article somewhere.... Aug 19, 10:01
  • Ikea Solar Installation by John Moran: Pete - did I say something wrong? Why was I deleted? I thought I made a valid contribution, sorry if not. John Aug 19, 09:45
  • Raspberry Pi Zero WiFi by Glen B: hi, Why did you replace the DietPi versions of SSH and webserver with "heavier" versions in this setup? do these versions not work with The Script? regards Glen Aug 19, 08:23
  • Ikea Solar Installation by Andy: Hi Peter Todo the calculation: http://re.jrc.ec.europa.eu/pvgis/apps4/pvest.php# might help. Enter your location and the roof angles and click on show graphs and show horizen. Leave the installed peak power at 1Kwp You'll get allot of data. As a rule of thumb if the Total Yearly Energy produced by 1kWp is higher than 800kWh it's ok todo an installation. As you can see winter is crap, summer is great. Batteryies are a hobby if you get a fair price for the surpluss power you feed to the grid. Aug 19, 00:40