-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
order in device_Id_array #11
Comments
Thanks for mentioning that. That was for now just the temporary solution just to proof that data can be pulled and show on the screen even if is just working in this specific configuration One Plant -> 2 devices [first inverter second Dongle] I have exactly the same configuration . I d'like to write interface which will show dynamically data on screen with use of TUI LINUX terminal TUI for user usage here you will be able chose from which Plant (Is possible more than one) and which device (as you mentioned can be in different order or can be more than one inverter or even more devices battery for example) you can present data on screen. Second issue is when TUI will be written will be just for user lookup sometimes. Real use of this script will be automatically pull up data to InfluxDB/domoticz/MQTT. Actually my plan is to made in TUI configuration option where you chose what will be scraped from which Plant->specific device that will be saved in config file and then in background file will pull-up data which you chosen before with use of TUI. |
No that is my
So inverter in in second place as (Device 2) That is when I call inverter device inside different functions I use position 1 in array we start from 0 in my case that is dongle in your case is reverse as you mentioned in your previous post. My case
Proposition of solution for your configuration
But configurations and order of devices my be different for any person that is you have right is necessary to solve this in dynamical way whatever devices and order person will have. So this now is just temporary until I wrote interface in TUI and such numbers will be inserted inside functions in dynamically way. BTW if you d'like contribute your code related to this problem I will be really happy just create pull request :) The same problem is with Power plants. I have only one because small solar installation but may existing peoples with more than one Plant. that is now is hardcoded position 0 in array. That must be also changed dynamically way
|
In fusionsolarapp.sh you are using static relation to second position in array device_Id_array. You should check type of device because fusion can send device in other order. For example in my installation I received
The text was updated successfully, but these errors were encountered: