diy solar

diy solar

Search results

  1. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    That looks preety sweet, and looks like you do have history there with power generation, max and min, and charge status. Olen script now has the ability to grab data from Renogy batteries. Probably with copy paste, i would imagine that combining both the benefits of the scripts, coud lead to a...
  2. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    @scottnichol Just curious how you got the charge contoller to report the state MPPT/BOOST etc? Did you also get the history going? @oedo808 got the history going in the debug logs file.
  3. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    There's been an update to the script thanks to a fella named acmagn, the script now properly reconnects every 10 seconds if there's a disconnect and now reads data fron renogy batteries including the built-in Bluetooth one and those running on the BT-2 module. It hasn't been merged with the...
  4. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    interesting. How long does it wait between retries? Maybe I didn't wait long enough.
  5. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    I havent got there yet, as you say, im not sure how to restart it several times. I suspect it would have to be in script itself (and not a service thing)...the service would just start the script, and it would be up to the script to keep it connect to the BT module...I think...right now, im just...
  6. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    this is a connection issue. This happens to me all the time. Sometimes it takes 4 or 5 times to connect. Turn off your DC Home app home bluetooth, confirm you're in good BT range (within 20 feet is good), and just keep trying, stop the script, restart it. It will eventually connect and stay...
  7. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    It sounds like your CHIP might be on order of Rasperry Pi Zero....which is ok, if just connects to the BT module and sends the data to a broker on another system. Maybe if you setup you your 3B+ as a broker so you log and analyze the data on your 3b instead? just a thought
  8. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    so just curious, how many parameters can you support now? CAn you do history in addition to the orginal script?
  9. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    input_X is solar panels charge_X is battery and the third set is load related as for the connection issues, that just there us a poor connections. I find that sometimes I need to start/stop the script 5 times for it connect and send data. After it connects, it might go 3 to 4 weeks before it...
  10. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    Yes, I have it running and plotting to Grafana with influxDB. With HA, you'll have to use mosquitto and set you machine up as a broker (receives the data). If you have a seperate broker on another machine, you'll have to actived the broker mqtt in the configuation.yaml of HA and it imports...
  11. SolarShed

    Renogy 1000W Sine Wave Inverter with Power Saving Eco Mode - Problem

    Thanks for letting us know. I know of many others having the same problem. I've heard if that if you place the switch to 50 Hz, it fixes it. Most electronics, at least in North America, support 50 to 60 Hz. Check yours and try out the 50 Hz setting.
  12. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    that;s great that you got it to work with a BT-2 module. now it opens things up for the Elite Rovers. If Renogy can release the ModBus maps/codes for other devices, this could be a pandora's box.
  13. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    Using InfluxDB (on Ubuntu in Grafana) and Red-NODE (on RPi Zero 2W), here's the dashboard for a true data logging and remote (and locally-based) access system
  14. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    are you referring to the settings or when you Rover is in MPPT, float, boost mode?....either way, I have not seen that in the code, or haven't identified it yet....its good point and would be nice to have as another data stream.
  15. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    well, after a while, here's the money shot. All local.
  16. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    So, finally got Grafana MQTT installed on my Ubuntu Machine. Question for you @oedo808: The script seems to be optimized for Home Assistant, so, when im on my Ubuntu machine (broker) and type this in the command line mosquitto_sub -v -h broker_ip -p 1883 -t '#' i get all this...
  17. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    thata good point, I mean the script is running and connects to the broker, its says sending new data with every new line
  18. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    im trying to code a subscriber to list the data the publisher is sending using my broker. When I run the script below, all I get is that "Connected with result code 0" and waits...but its not listing the data the the publisher is sending....any know now how to tweak this script? import...
  19. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    charge power, I believe is your charging power in watts. Mine is not zero when the sun is out
  20. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    I asked the author about increasing the decimal places on the values and this is what he has to say: If you look at the class PowerDevice in solaredevice.py you can find the definitions of the various monitored values. You will mostly see that values are stored as "high resolution" (e.g...
  21. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    The same is true for current and I posted this question on the Creator's website. I was planning on troubleshooting this once I got my system up and running but I'm not there yet...
  22. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    so, I got the broker working on my local Ubuntu computer and network (it had something to do with specifically giving permission to external devices by adding the IP address of the external device in the broker moquitto.conf file on the UBuntu computer)....I ran a basic mqtt publish and subcribe...
  23. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    Great! I got the Broker running on the Ubuntu machine by following these instructions: http://www.steves-internet-guide.com/mosquitto-broker/ Then, I installed two simple sub-pub scripts from here on the Pi Zero: https://www.emqx.com/en/blog/how-to-use-mqtt-in-python Using the above two...
  24. SolarShed

    Renogy Rover Lithium settings

    FYI. https://www.autoevolution.com/news/the-new-tesla-recommendation-for-the-cars-with-lfp-batteries-changes-everything-you-know-177815.html
  25. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    so, I did one better. I converted that old computer to a Ubuntu machine. So, now I can have it one 24/7 to hepl with the resouces. I just have to figure out how to put all the peices together. Back to your 4 step instuctions: Install an MQTT server like Mosquitto somewhere; could even be on...
  26. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    That's a great idea! I have an old but powerful quad core 2.7 GHz computer that I can use for this. It has windows VISTA, though. I'll give it a try!
  27. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    I see, my zero is lite also (not desktop). Did you install the same yarn plug-in on your zero?
  28. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    Unfortubnalt,y this last step, "yarn install" (after following the long list of prerequistes) won't run on my pi for memory issues. Is there a way to limit resources for this?
  29. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    thanks , I will likely want to go the route of putting as less as possible on the Pi Zero because its already kinda of struggling with just this. So, I will have to setup what you have basically, " use MQTT, sending to OpenHab and persisting that to InfluxDB and Grafana is reading the data from...
  30. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    good point, for sure there were more than the ones listed in the requirements list, but I only figured them out after trying to install them, it would tell me missing module etc. so I would install them....off the top of my head, this is what I remember, there were maybe 6 or 7 extra ones I had...
  31. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    thanks @oedo808 and @aps1602 I got it to work on my Pi Zero 2 W Bullseye! After installing the libraries and dependencies, it was the dist issue. I commented out the mqtt part...but I think it stil complains a bit about it (but doesn't exit this code and just keeps reading values from the BT-1)...
  32. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    Thanks that would be so much appreciated and helpful!
  33. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    is broker the IP address of your Pi and mac is mac address of BT-1, right?
  34. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    thanks, I tried resinstalling via pip3 install -r requirements.txt I commened out the ones it says are already present, but there a couple of them that it doesn't like json threading do I have install these manually? it says this for both ERROR: Could not find a version that satisfies...
  35. SolarShed

    Renogy Devices and Raspberry Pi - bluetooth/WiFi

    you got farther than me, im not sure what happening with mine, can't get it to run, after running sudo python3 solar-monitor.py Traceback (most recent call last): File "/home/pi/solar-monitor/solar-monitor.py", line 52, in <module> device_manager =...
Back
Top