My next step is to get the non-legacy mode running.
After adding a smartmeter to my inverter, my dashboard on the SE Webinterface looks like this:
The measured values are perfectly fine, peaks are caused by a heat pump.
Note: On browser reload, the “Monat” tab is shown.
The log in legacy mode:
2018-01-30 10:24:16.291 [DEBUG] [dge.handler.SolarEdgeLiveDataPolling] - polling SolarEdge live data org.openhab.binding.solaredge.config.SolarEdgeConfiguration@1576f2d[username=XX,password=XX,solarId=XX,legacyMode=true,live data pollingInterval=60,aggregate data pollingInterval=300,asyncTimeout=120,syncTimeout=120]
2018-01-30 10:24:16.748 [DEBUG] [nternal.command.LegacyLiveDataUpdate] - received content, length: 6559
2018-01-30 10:24:16.752 [DEBUG] [nternal.command.LegacyLiveDataUpdate] - HTTP response 200
2018-01-30 10:24:16.755 [DEBUG] [nternal.command.LegacyLiveDataUpdate] - onComplete()
2018-01-30 10:24:16.762 [DEBUG] [nternal.command.LegacyLiveDataUpdate] - RAW String: Ext.apply(SE.labels,{overViewPanel:SE.labels.OverViewPanel,overViewPanel1:SE.labels.OverViewPanel1});(function(){varshowCurrentPower=false;if(!SE.isPublic&&SE.Params.hasSEMInDashboard&&SE.permissions.DashboardPowerFlow)showCurrentPower=false;elseshowCurrentPower=true;if(SE.isPhone){showCurrentPower=false;};vardata={lastDayEnergy:"939,88Wh",lastMonthEnergy:"123,65kWh",lifeTimeEnergy:"11,69MWh",};if(showCurrentPower){Ext.apply(data,{currentPower:"827W"});}varoverViewPanel={showLifeTimeRevenue:false,showCurrentPower:showCurrentPower,data:data};Ext.apply(SE.Params,{overViewPanel:overViewPanel});})();Ext4.define('SE.AbsOverViewPanel',{extend:'Ext.panel.Panel',layout:{type:'hbox'},cls:'se-overview-panel',params:SE.Params.overViewPanel,statics:{create:function(params){returnSE.createCmp('SE.OverViewPanel',params);}},adjustLastItemCSS:function(){varlastItem=this.items[this.items.length-1];lastItem.cls='se-site-filter-panel-cell-end';lastItem.style='border-right:none';},createTodayEnergyCell:function(){this.TodayEnergyCell=SE.createCmp('SE.OverviewPanelCell',{id:'se-today-energy',cellId:'TodayEnergy',text:this.labels.todayEnergy,_data:this.data.lastDayEnergy});this.items.push(this.TodayEnergyCell);},createThisMonthEnergyCell:function(){this.ThisMonthEnergyCell=SE.createCmp('SE.OverviewPanelCell',{id:'se-this-month-energy',cellId:'ThisMonthEnergy',text:this.labels.thisMonthEnergy,_data:this.data.lastMonthEnergy});this.items.push(this.ThisMonthEnergyCell);},createLifeTimeEnergyCell:function(){this.LifeTimeEnergyCell=SE.createCmp('SE.OverviewPanelCell',{id:'se-life-time-energy',cellId:'LifeTimeEnergy',text:this.labels.lifeTimeEnergy,_data:this.data.lifeTimeEnergy});this.items.push(this.LifeTimeEnergyCell);},createCurrentPowerCell:function(){this.CurrentPowerCell=SE.createCmp('SE.OverviewPanelCell',{id:'se-current-power',cellId:'CurrentPower',text:this.labels.currentPower,_data:this.data.currentPower});this.items.push(this.CurrentPowerCell);},createLifeTimeRevenueCell:function(){this.LifeTimeRevenueCell=SE.createCmp('SE.OverviewPanelCell',{id:'se-life-time-revenue',cellId:'LifeTimeRevenue',text:this.labels.lifeTimeRevenue,_data:this.data.formatedRevenue});this.items.push(this.LifeTimeRevenueCell);},update:function(data){if(this.params.showCurrentPower){this.CurrentPowerCell.dataPanel._data.setHtml(data.currentPower);}this.TodayEnergyCell.dataPanel._data.setHtml(data.lastDayEnergy);this.ThisMonthEnergyCell.dataPanel._data.setHtml(data.lastMonthEnergy);this.LifeTimeEnergyCell.dataPanel._data.setHtml(data.lifeTimeEnergy);if(this.params.showLifeTimeRevenue){this.LifeTimeRevenueCell.dataPanel._data.setHtml(data.formatedRevenue);}}});Ext4.define('SE.OverViewPanel',{extend:'SE.AbsOverViewPanel',labels:SE.labels.overViewPanel,width:300,addTitle:true,initComponent:function(){if(this.addTitle)this.title=this.labels.overview;this.data=SE.Params.overViewPanel.data;this.items=[];if(this.params.showCurrentPower){this.createCurrentPowerCell();}this.createTodayEnergyCell();this.createThisMonthEnergyCell();this.createLifeTimeEnergyCell();if(this.params.showLifeTimeRevenue){this.createLifeTimeRevenueCell();}this.adjustLastItemCSS();this.callParent(arguments);}});Ext4.define('SE.AbsOverviewPanelCell',{extend:'Ext.Container',flex:1,params:SE.Params.overViewPanel,statics:{create:function(params){returnSE.createCmp('SE.OverviewPanelCell',params);}},createCSS:function(){varrules=['.se-site-overview-panel-cell.x4-autocontainer-innerCt{vertical-align:middle;}'];SE.util.CSS.addCmpRules('se-site-overview-panel-cell-css',rules);},initComponent:function(){this.style='border-right:solid#d9d9d92px';this.createCSS();this.dataPanel=SE.createCmp('SE.OverviewDataBox',{text:this.text,_data:this._data});this.items=[this.dataPanel];if(this.params.showLifeTimeRevenue){if(this._data2){this._data2=SE.createCmp('Ext.Component',{html:this._data2,cls:'se-site-overview-data-box-data2se-green-color',flex:1});this.items.push(this._data2);}else{this._data2=SE.createCmp('Ext.Component',{html:'\u00A0',flex:1});this.items.push(this._data2);}}this.callParent(arguments);}});Ext4.define('SE.OverviewPanelCell',{extend:'SE.AbsOverviewPanelCell',height:79,cls:['se-panel-gradient','se-site-overview-panel-cell']});Ext4.define('SE.AbsOverviewDataBox',{extend:'Ext.Container',params:SE.Params.overViewPanel,width:'100%',layout:{type:'vbox',align:'stretch'},cls:'se-site-overview-data-box',statics:{create:function(params){returnSE.createCmp('SE.OverviewDataBox',params);}},initComponent:function(){this.createCSS();this.text=SE.createCmp('Ext.Component',{html:this.text,cls:this.textCls,flex:1});this._data=SE.createCmp('Ext.Component',{html:this._data,cls:'se-site-overview-data-box-data',flex:1});this.items=[this.text,this._data];this.callParent(arguments);}});Ext4.define('SE.OverviewDataBox',{extend:'SE.AbsOverviewDataBox',textCls:'se-site-overview-data-box-text',createCSS:function(){varrules=['.se-site-overview-data-box.x4-autocontainer-innerCt{vertical-align:middle;}','.se-site-overview-data-box.x4-box-inner{width:100%!important;}','.se-site-overview-data-box.x4-box-target{position:initial}','.se-site-overview-data-box-text{width:100%!important;font-size:14px;white-space:nowrap;text-align:center;padding:5px05px0;}','.se-site-overview-data-box-data{width:100%!important;font-size:18px;white-space:nowrap;text-align:center;padding:5px05px0;color:'+SE.CSSColor.grc()+';font-weight:bold;overflow:hidden;}'];SE.util.CSS.addCmpRules('se-site-overview-data-box-css',rules);}});
2018-01-30 10:24:16.779 [DEBUG] [nternal.command.LegacyLiveDataUpdate] - Parsed value: '827'
2018-01-30 10:24:16.781 [DEBUG] [nternal.command.LegacyLiveDataUpdate] - Parsed unit: 'W'
2018-01-30 10:24:16.785 [DEBUG] [nternal.command.LegacyLiveDataUpdate] - Converted value: '0.83'
2018-01-30 10:24:16.787 [DEBUG] [laredge.handler.SolarEdgeBaseHandler] - Handling channel update.
2018-01-30 10:24:16.790 [DEBUG] [laredge.handler.SolarEdgeBaseHandler] - Channel is to be updated: live#production: 0.83
After switching to non-legacy mode:
2018-01-30 10:21:24.917 [DEBUG] [dge.handler.SolarEdgeLiveDataPolling] - polling SolarEdge live data org.openhab.binding.solaredge.config.SolarEdgeConfiguration@455fd8[username=XX,password=XX,solarId=XX,legacyMode=false,live data pollingInterval=60,aggregate data pollingInterval=300,asyncTimeout=120,syncTimeout=120]
2018-01-30 10:21:25.010 [DEBUG] [edge.internal.command.LiveDataUpdate] - received content, length: 27
2018-01-30 10:21:25.013 [DEBUG] [edge.internal.command.LiveDataUpdate] - HTTP response 200
2018-01-30 10:21:25.016 [DEBUG] [edge.internal.command.LiveDataUpdate] - onComplete()
2018-01-30 10:21:25.018 [DEBUG] [edge.internal.command.LiveDataUpdate] - JSON String: {"siteCurrentPowerFlow":{}}
There are no values at all, can you add some more debug messages at this point?
Maybe there is a “raw” string like in legacy mode
Best Regards