mirror of
https://github.com/MickMake/GoSungrow.git
synced 2025-04-11 05:09:25 +02:00
Committed v3.0.4
This commit is contained in:
parent
02fdf69161
commit
d25c98b89d
2
.idea/workspace.xml
generated
2
.idea/workspace.xml
generated
@ -5,7 +5,7 @@
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="76adadc9-ae71-42a6-82a1-66dbc8ecb14c" name="Changes" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/cmd/cmd_mqtt.go" beforeDir="false" afterPath="$PROJECT_DIR$/cmd/cmd_mqtt.go" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
|
@ -399,9 +399,9 @@ func (c *CmdMqtt) Update(endpoint string, data api.DataMap, newDay bool) error {
|
||||
entries := data.Map[o]
|
||||
r := entries.GetEntry(api.LastEntry) // Gets the last entry
|
||||
|
||||
if strings.Contains(r.EndPoint, "pv_to_grid_energy") {
|
||||
fmt.Printf("EMPTY[%s] -> %s\n", r.EndPoint, r.Value.String())
|
||||
}
|
||||
//if strings.Contains(r.EndPoint, "pv_to_grid_energy") {
|
||||
// fmt.Printf("EMPTY[%s] -> %s\n", r.EndPoint, r.Value.String())
|
||||
//}
|
||||
if _, ok := c.previous[o]; ok {
|
||||
previous := c.previous[o].GetEntry(api.LastEntry)
|
||||
if r.Value.String() != previous.Value.String() {
|
||||
|
@ -19,7 +19,7 @@ var Examples string
|
||||
const (
|
||||
Description = "GoSungrow - GoLang implementation to access the iSolarCloud API updated by SunGrow inverters"
|
||||
BinaryName = "GoSungrow"
|
||||
BinaryVersion = "3.0.3"
|
||||
BinaryVersion = "3.0.4"
|
||||
SourceRepo = "github.com/MickMake/" + BinaryName
|
||||
BinaryRepo = "github.com/MickMake/" + BinaryName
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user