iobroker.powertrust-app v1.6.0
Powertrust client Adapter
This adapter is to visualize the Powertrust devices.
The same code is used in the cloud.
Settings
To use the cloud adapter, you should first to register on the powertrust cloud https://powertrust.click.
Development
Start react-app with npm run start
in src directory. Start chrome in special mode:
chrome --disable-web-security --user-data-dir=C:\\temp --disable-site-isolation-trials
e.g., for windows "C:\Program Files\Google\Chrome\Application\chrome" --disable-web-security --user-data-dir=C:\\temp --disable-site-isolation-trials
and open in it http://localhost:3000?token=11
, where 11 is your token from real communication on https://oxmox.powertrust.de
(Dev=>Application=>Cookies=>token).
Warning
Do not use swiper 10, as it is now web component.
Todo
- History doesn't work if started not from home page
- Normal indication of connectivity
- Close history on click outside
- Router by hash and not by localStorage
- ? No connection / No data screen
- Privacy / About: do not exist
- Lazy load (privacy, imprint, about, ..., complex history numbers)
- Info below: last update X hours ago
- Fix online theme (missing circle)
- 2 digits after the decimal point (always)
- lines in Safari (screenshot)
- do not show click effect if button is not clickable
- Internal circle should represent self-sufficiency: infoCircle: 'solid', 'dotted' - the information must be displayed in a circle 100% - full, 0% - nothing (colors of color)
- Use infoCircleColor 'rising', 'falling' as colors
- Variable updates
- Problem: no timestamps in case we don't have connection with the device
- ? Do not show Settings button if just one device and in app
- ? If the customer has no devices, then something must also be displayed: e.g. You have not registered any devices. Please register on the Powertrust cloud.
- Check the values for day, month and year (e.g. by PV)
- by default, the context menu is opened
- Show full level of battery in icon
- Install pvforecast by initial installation (powertrust-cloud, powertrust-storage, pvforecast, echarts, javascript, web, backup, infxludb)
- Notifications: "Heute hat deine Anlage X kWh produziert und laut aktueller Prognose wird deine Anlage morgen ... kWh produzieren." (um 20 Uhr)
- Add PV Spitzenleistung / peak capacity from pvforecast
- Show in circle the last messages
- Send information to ioBroker server from app (e.g. last seen message)
- Animation for circle
- Clear single messages via "Delete" button
- Implement App messages
- Change color of circle animation in dark mode
- Show date of messages
- Change icons on battery page with real storage and battery on the top
- Replace cycle icon with refresh icon
- Why 1:00 is always empty by history?
- 2 icons?? https://oxmox.powertrust.click/#swiper=BATTERY/attribute=alias.0.Powertrust.States.BATTERY.Battery_SoC_Percentage
- No milliwats and lower
- Show card even if no data (e.g. by CHP info)
- Brutto-capacity will be calculated invalid. Check with dominic
- Do not show days and months history by starts and chart is not from zero
- Battery / info, no icons, but texts
- Check why no unit by brutto and netto capacity
- PV icons is too small and CHP is too big
- kstarts in chart
- Show always the full day in history and current production as line
- Skalierbar Kreis und Schaltflächen
- Add: Am 1 von jedem Monat: du hast damit X€ in diesem Monat gespart
- Solaredge Modbus adapter, runs only on "PT.." UUID (optional battery)
- powertrust.cloud, modify, that the data could be read from the solaredge adapter
Changelog
1.6.0 (2024-03-20)
- (bluefox) Changed "oxmox" to "echo"
1.5.1 (2023-10-12)
- (bluefox) optimizations for icons and units
- (bluefox) Catch errors in history
1.5.0 (2023-06-07)
- Fixed error with the message deletion
1.4.0 (2023-06-05)
- Used "integral total"
1.3.0 (2023-06-02)
- Added deletion of messages
- Added time of messages
1.1.0 (2023-05-24)
- Added acknowledge of messages from ioBroker
1.0.0 (2023-05-17)
- Added messages from ioBroker
0.7.1 (2023-05-10)
- Added forecast
0.6.0 (2023-04-19)
- Corrected history
0.5.1 (2023-04-05)
- Make decimal places always 2
0.5.0 (2023-04-01)
- Small improvements
0.4.0 (2023-02-09)
- Added connection/reconnection detection
0.3.0 (2022-12-21)
- Added lazy loading of history
0.2.2 (2022-12-20)
- Use code styles
0.1.1 (2022-12-20)
- Working stage
0.1.0 (2022-12-15)
- Charts implemented
0.0.16 (2022-11-17)
- Work in progress
0.0.14 (2022-09-12)
- Work in progress
0.0.13 (2022-08-28)
- New design
0.0.12 (2022-07-07)
- Variables are sorted now by name
0.0.11 (2022-07-05)
- Created the demo app
0.0.3 (2022-03-31)
- Change ports
0.0.2 (2022-03-31)
- Initial release
Start local dev
from /iobroker/iobroker.powertrust-app directory
Process 1
cd ..
./startIob
Process 2
cd src
npm run start
2 months ago
7 months ago
12 months ago
12 months ago
12 months ago
11 months ago
11 months ago
11 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago