diff --git a/assets/js/components/Energyflow/Energyflow.vue b/assets/js/components/Energyflow/Energyflow.vue index abe8db599..199508405 100644 --- a/assets/js/components/Energyflow/Energyflow.vue +++ b/assets/js/components/Energyflow/Energyflow.vue @@ -49,7 +49,7 @@ >
{{ $t("footer.sponsor.thanks", { sponsor }) }}
diff --git a/dist/assets/index.d8d48e97.js b/dist/assets/index.4470a477.js similarity index 54% rename from dist/assets/index.d8d48e97.js rename to dist/assets/index.4470a477.js index cd954f76e..c22ea75d7 100644 --- a/dist/assets/index.d8d48e97.js +++ b/dist/assets/index.4470a477.js @@ -1,22 +1,22 @@ -var tg=Object.defineProperty,ng=Object.defineProperties;var rg=Object.getOwnPropertyDescriptors;var Ic=Object.getOwnPropertySymbols;var sg=Object.prototype.hasOwnProperty,ig=Object.prototype.propertyIsEnumerable;var Qo=(e,t,n)=>t in e?tg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,he=(e,t)=>{for(var n in t||(t={}))sg.call(t,n)&&Qo(e,n,t[n]);if(Ic)for(var n of Ic(t))ig.call(t,n)&&Qo(e,n,t[n]);return e},gs=(e,t)=>ng(e,rg(t));var og=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Vn=(e,t,n)=>(Qo(e,typeof t!="symbol"?t+"":t,n),n);var cx=og((fx,hi)=>{const ag=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerpolicy&&(i.referrerPolicy=s.referrerpolicy),s.crossorigin==="use-credentials"?i.credentials="include":s.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}};ag();var et="top",gt="bottom",_t="right",tt="left",oo="auto",as=[et,gt,_t,tt],lr="start",Br="end",pd="clippingParents",_l="viewport",kr="popper",gd="reference",Ta=as.reduce(function(e,t){return e.concat([t+"-"+lr,t+"-"+Br])},[]),vl=[].concat(as,[oo]).reduce(function(e,t){return e.concat([t,t+"-"+lr,t+"-"+Br])},[]),_d="beforeRead",vd="read",bd="afterRead",yd="beforeMain",Ed="main",wd="afterMain",Td="beforeWrite",Sd="write",Cd="afterWrite",Ad=[_d,vd,bd,yd,Ed,wd,Td,Sd,Cd];function Qt(e){return e?(e.nodeName||"").toLowerCase():null}function Mt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function jr(e){var t=Mt(e).Element;return e instanceof t||e instanceof Element}function Ct(e){var t=Mt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function bl(e){if(typeof ShadowRoot=="undefined")return!1;var t=Mt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function lg(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},s=t.attributes[n]||{},i=t.elements[n];!Ct(i)||!Qt(i)||(Object.assign(i.style,r),Object.keys(s).forEach(function(o){var a=s[o];a===!1?i.removeAttribute(o):i.setAttribute(o,a===!0?"":a)}))})}function cg(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var s=t.elements[r],i=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=o.reduce(function(l,c){return l[c]="",l},{});!Ct(s)||!Qt(s)||(Object.assign(s.style,a),Object.keys(i).forEach(function(l){s.removeAttribute(l)}))})}}var yl={name:"applyStyles",enabled:!0,phase:"write",fn:lg,effect:cg,requires:["computeStyles"]};function Kt(e){return e.split("-")[0]}var nr=Math.max,Ui=Math.min,Vr=Math.round;function Ur(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,s=1;if(Ct(e)&&t){var i=e.offsetHeight,o=e.offsetWidth;o>0&&(r=Vr(n.width)/o||1),i>0&&(s=Vr(n.height)/i||1)}return{width:n.width/r,height:n.height/s,top:n.top/s,right:n.right/r,bottom:n.bottom/s,left:n.left/r,x:n.left/r,y:n.top/s}}function El(e){var t=Ur(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function kd(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&bl(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function cn(e){return Mt(e).getComputedStyle(e)}function ug(e){return["table","td","th"].indexOf(Qt(e))>=0}function Mn(e){return((jr(e)?e.ownerDocument:e.document)||window.document).documentElement}function ao(e){return Qt(e)==="html"?e:e.assignedSlot||e.parentNode||(bl(e)?e.host:null)||Mn(e)}function Rc(e){return!Ct(e)||cn(e).position==="fixed"?null:e.offsetParent}function fg(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&Ct(e)){var r=cn(e);if(r.position==="fixed")return null}var s=ao(e);for(bl(s)&&(s=s.host);Ct(s)&&["html","body"].indexOf(Qt(s))<0;){var i=cn(s);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return s;s=s.parentNode}return null}function ni(e){for(var t=Mt(e),n=Rc(e);n&&ug(n)&&cn(n).position==="static";)n=Rc(n);return n&&(Qt(n)==="html"||Qt(n)==="body"&&cn(n).position==="static")?t:n||fg(e)||t}function wl(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ns(e,t,n){return nr(e,Ui(t,n))}function dg(e,t,n){var r=Ns(e,t,n);return r>n?n:r}function Od(){return{top:0,right:0,bottom:0,left:0}}function Ld(e){return Object.assign({},Od(),e)}function Nd(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var hg=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Ld(typeof t!="number"?t:Nd(t,as))};function mg(e){var t,n=e.state,r=e.name,s=e.options,i=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Kt(n.placement),l=wl(a),c=[tt,_t].indexOf(a)>=0,u=c?"height":"width";if(!(!i||!o)){var f=hg(s.padding,n),d=El(i),g=l==="y"?et:tt,T=l==="y"?gt:_t,A=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],_=o[l]-n.rects.reference[l],p=ni(i),v=p?l==="y"?p.clientHeight||0:p.clientWidth||0:0,E=A/2-_/2,m=f[g],k=v-d[u]-f[T],$=v/2-d[u]/2+E,L=Ns(m,$,k),H=l;n.modifiersData[r]=(t={},t[H]=L,t.centerOffset=L-$,t)}}function pg(e){var t=e.state,n=e.options,r=n.element,s=r===void 0?"[data-popper-arrow]":r;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||!kd(t.elements.popper,s)||(t.elements.arrow=s))}var $d={name:"arrow",enabled:!0,phase:"main",fn:mg,effect:pg,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Wr(e){return e.split("-")[1]}var gg={top:"auto",right:"auto",bottom:"auto",left:"auto"};function _g(e){var t=e.x,n=e.y,r=window,s=r.devicePixelRatio||1;return{x:Vr(t*s)/s||0,y:Vr(n*s)/s||0}}function Mc(e){var t,n=e.popper,r=e.popperRect,s=e.placement,i=e.variation,o=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,f=e.isFixed,d=o.x,g=d===void 0?0:d,T=o.y,A=T===void 0?0:T,_=typeof u=="function"?u({x:g,y:A}):{x:g,y:A};g=_.x,A=_.y;var p=o.hasOwnProperty("x"),v=o.hasOwnProperty("y"),E=tt,m=et,k=window;if(c){var $=ni(n),L="clientHeight",H="clientWidth";if($===Mt(n)&&($=Mn(n),cn($).position!=="static"&&a==="absolute"&&(L="scrollHeight",H="scrollWidth")),$=$,s===et||(s===tt||s===_t)&&i===Br){m=gt;var j=f&&$===k&&k.visualViewport?k.visualViewport.height:$[L];A-=j-r.height,A*=l?1:-1}if(s===tt||(s===et||s===gt)&&i===Br){E=_t;var Y=f&&$===k&&k.visualViewport?k.visualViewport.width:$[H];g-=Y-r.width,g*=l?1:-1}}var J=Object.assign({position:a},c&&gg),F=u===!0?_g({x:g,y:A}):{x:g,y:A};if(g=F.x,A=F.y,l){var re;return Object.assign({},J,(re={},re[m]=v?"0":"",re[E]=p?"0":"",re.transform=(k.devicePixelRatio||1)<=1?"translate("+g+"px, "+A+"px)":"translate3d("+g+"px, "+A+"px, 0)",re))}return Object.assign({},J,(t={},t[m]=v?A+"px":"",t[E]=p?g+"px":"",t.transform="",t))}function vg(e){var t=e.state,n=e.options,r=n.gpuAcceleration,s=r===void 0?!0:r,i=n.adaptive,o=i===void 0?!0:i,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:Kt(t.placement),variation:Wr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Mc(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Mc(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Tl={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:vg,data:{}},gi={passive:!0};function bg(e){var t=e.state,n=e.instance,r=e.options,s=r.scroll,i=s===void 0?!0:s,o=r.resize,a=o===void 0?!0:o,l=Mt(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(u){u.addEventListener("scroll",n.update,gi)}),a&&l.addEventListener("resize",n.update,gi),function(){i&&c.forEach(function(u){u.removeEventListener("scroll",n.update,gi)}),a&&l.removeEventListener("resize",n.update,gi)}}var Sl={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:bg,data:{}},yg={left:"right",right:"left",bottom:"top",top:"bottom"};function xi(e){return e.replace(/left|right|bottom|top/g,function(t){return yg[t]})}var Eg={start:"end",end:"start"};function Dc(e){return e.replace(/start|end/g,function(t){return Eg[t]})}function Cl(e){var t=Mt(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Al(e){return Ur(Mn(e)).left+Cl(e).scrollLeft}function wg(e){var t=Mt(e),n=Mn(e),r=t.visualViewport,s=n.clientWidth,i=n.clientHeight,o=0,a=0;return r&&(s=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=r.offsetLeft,a=r.offsetTop)),{width:s,height:i,x:o+Al(e),y:a}}function Tg(e){var t,n=Mn(e),r=Cl(e),s=(t=e.ownerDocument)==null?void 0:t.body,i=nr(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),o=nr(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-r.scrollLeft+Al(e),l=-r.scrollTop;return cn(s||n).direction==="rtl"&&(a+=nr(n.clientWidth,s?s.clientWidth:0)-i),{width:i,height:o,x:a,y:l}}function kl(e){var t=cn(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function xd(e){return["html","body","#document"].indexOf(Qt(e))>=0?e.ownerDocument.body:Ct(e)&&kl(e)?e:xd(ao(e))}function $s(e,t){var n;t===void 0&&(t=[]);var r=xd(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),i=Mt(r),o=s?[i].concat(i.visualViewport||[],kl(r)?r:[]):r,a=t.concat(o);return s?a:a.concat($s(ao(o)))}function Sa(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Sg(e){var t=Ur(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function Fc(e,t){return t===_l?Sa(wg(e)):jr(t)?Sg(t):Sa(Tg(Mn(e)))}function Cg(e){var t=$s(ao(e)),n=["absolute","fixed"].indexOf(cn(e).position)>=0,r=n&&Ct(e)?ni(e):e;return jr(r)?t.filter(function(s){return jr(s)&&kd(s,r)&&Qt(s)!=="body"}):[]}function Ag(e,t,n){var r=t==="clippingParents"?Cg(e):[].concat(t),s=[].concat(r,[n]),i=s[0],o=s.reduce(function(a,l){var c=Fc(e,l);return a.top=nr(c.top,a.top),a.right=Ui(c.right,a.right),a.bottom=Ui(c.bottom,a.bottom),a.left=nr(c.left,a.left),a},Fc(e,i));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function Pd(e){var t=e.reference,n=e.element,r=e.placement,s=r?Kt(r):null,i=r?Wr(r):null,o=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(s){case et:l={x:o,y:t.y-n.height};break;case gt:l={x:o,y:t.y+t.height};break;case _t:l={x:t.x+t.width,y:a};break;case tt:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var c=s?wl(s):null;if(c!=null){var u=c==="y"?"height":"width";switch(i){case lr:l[c]=l[c]-(t[u]/2-n[u]/2);break;case Br:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function zr(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=r===void 0?e.placement:r,i=n.boundary,o=i===void 0?pd:i,a=n.rootBoundary,l=a===void 0?_l:a,c=n.elementContext,u=c===void 0?kr:c,f=n.altBoundary,d=f===void 0?!1:f,g=n.padding,T=g===void 0?0:g,A=Ld(typeof T!="number"?T:Nd(T,as)),_=u===kr?gd:kr,p=e.rects.popper,v=e.elements[d?_:u],E=Ag(jr(v)?v:v.contextElement||Mn(e.elements.popper),o,l),m=Ur(e.elements.reference),k=Pd({reference:m,element:p,strategy:"absolute",placement:s}),$=Sa(Object.assign({},p,k)),L=u===kr?$:m,H={top:E.top-L.top+A.top,bottom:L.bottom-E.bottom+A.bottom,left:E.left-L.left+A.left,right:L.right-E.right+A.right},j=e.modifiersData.offset;if(u===kr&&j){var Y=j[s];Object.keys(H).forEach(function(J){var F=[_t,gt].indexOf(J)>=0?1:-1,re=[et,gt].indexOf(J)>=0?"y":"x";H[J]+=Y[re]*F})}return H}function kg(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=n.boundary,i=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?vl:l,u=Wr(r),f=u?a?Ta:Ta.filter(function(T){return Wr(T)===u}):as,d=f.filter(function(T){return c.indexOf(T)>=0});d.length===0&&(d=f);var g=d.reduce(function(T,A){return T[A]=zr(e,{placement:A,boundary:s,rootBoundary:i,padding:o})[Kt(A)],T},{});return Object.keys(g).sort(function(T,A){return g[T]-g[A]})}function Og(e){if(Kt(e)===oo)return[];var t=xi(e);return[Dc(e),t,Dc(t)]}function Lg(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var s=n.mainAxis,i=s===void 0?!0:s,o=n.altAxis,a=o===void 0?!0:o,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,g=n.flipVariations,T=g===void 0?!0:g,A=n.allowedAutoPlacements,_=t.options.placement,p=Kt(_),v=p===_,E=l||(v||!T?[xi(_)]:Og(_)),m=[_].concat(E).reduce(function(Ee,R){return Ee.concat(Kt(R)===oo?kg(t,{placement:R,boundary:u,rootBoundary:f,padding:c,flipVariations:T,allowedAutoPlacements:A}):R)},[]),k=t.rects.reference,$=t.rects.popper,L=new Map,H=!0,j=m[0],Y=0;YWillkommen bei evcc
evcc ist dient zur flexiblen Ladesteuerung von Elektrofahrzeugen.
Es sieht aus, als w\xE4re Dein evcc noch nicht konfiguriert. Um evcc zu konfigurieren sind die folgenden Schritte notwendig:
evcc.yaml. Die Standardkonfiguration evcc.dist.yaml kann daf\xFCr als Vorlage dienen (Download). chargers.meters. site. In einer Site wird der Netzanschluss mit dem konfigurierten EVU Z\xE4hler (meter) verbunden. loadpoints. In einem Ladepunkt wird die konfigurierte Wallbox (charger) mit dem Ladepunkt verbunden. evcc -c evcc.yamlMinimale Beispielkonfiguration f\xFCr evcc:
Willkommen bei evcc evcc ist dient zur flexiblen Ladesteuerung von Elektrofahrzeugen. Es sieht aus, als w\xE4re Dein evcc noch nicht konfiguriert. Um evcc zu konfigurieren sind die folgenden Schritte notwendig: Minimale Beispielkonfiguration f\xFCr evcc: Viel Spass mit evcc! Bei Problemen kannst Du uns auf GitHub erreichen. uri: localhost:7070 # Adresse f\xFCr UI
+ ${e.fmtShortDurationUnit(s.chargeDurationInterpolated)}`},null,8,["label","value"]))]),se(c,Rt(i.vehicle,{onTargetSocUpdated:i.setTargetSoC,onTargetTimeUpdated:i.setTargetTime,onTargetTimeRemoved:i.removeTargetTime}),null,16,["onTargetSocUpdated","onTargetTimeUpdated","onTargetTimeRemoved"])])}var jk=Ie(Lk,[["render",Bk],["__scopeId","data-v-23cdc18f"]]);const Vk={name:"Site",components:{Loadpoint:jk},mixins:[yr],props:{loadpoints:Array},data(){return{selectedIndex:0,snapTimeout:null}},mounted(){this.$refs.carousel.addEventListener("scroll",this.handleCarouselScroll,!1)},unmounted(){this.$refs.carousel.removeEventListener("scroll",this.handleCarouselScroll)},methods:{handleCarouselScroll(){const{scrollLeft:e}=this.$refs.carousel,{offsetWidth:t}=this.$refs.carousel.children[0];this.selectedIndex=Math.round((e-7.5)/t)},selected(e){return this.selectedIndex===e},scrollTo(e){if(this.selectedIndex===e)return;this.selectedIndex=e;const t=this.$refs.carousel,n=t.children[0].offsetWidth;t.style.scrollSnapType="none",t.scrollTo({top:0,left:7.5+n*e,behavior:"smooth"}),clearTimeout(this.snapTimeout),this.snapTimeout=setTimeout(()=>{this.$refs.carousel.style.scrollSnapType="x mandatory"},1e3)}}},Uk=e=>(Ft("data-v-34f3ca44"),e=e(),Ht(),e),Wk={class:"container container--loadpoint px-0 mb-md-2 d-flex flex-column justify-content-center"},zk={ref:"carousel",class:"carousel d-lg-flex flex-wrap"},Kk={key:0,class:"d-flex d-lg-none justify-content-center"},Yk=["onClick"],qk=Uk(()=>T("shopicon-filled-circle",{class:"indicator-icon"},null,-1)),Gk=[qk];function Xk(e,t,n,r,s,i){const o=Ce("Loadpoint");return V(),Y("div",Wk,[T("div",zk,[(V(!0),Y(Pe,null,Zt(n.loadpoints,(a,l)=>(V(),Y("div",{key:l,class:"flex-grow-1 mb-3 m-lg-0 p-lg-0"},[se(o,Rt(a,{id:l,class:["h-100",{"loadpoint-unselected":!i.selected(l)}],onClick:c=>i.scrollTo(l)}),null,16,["id","class","onClick"])]))),128))],512),n.loadpoints.length>1?(V(),Y("div",Kk,[(V(!0),Y(Pe,null,Zt(n.loadpoints,(a,l)=>(V(),Y("button",{key:l,class:xe(["btn btn-sm btn-link p-0 mx-1 indicator d-flex justify-content-center align-items-center text-white",{"indicator--selected":i.selected(l)}]),onClick:c=>i.scrollTo(l)},Gk,10,Yk))),128))])):Ne("",!0)])}var Jk=Ie(Vk,[["render",Xk],["__scopeId","data-v-34f3ca44"]]),Qk='';class Zk extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=Qk}}window.customElements.define("shopicon-regular-refresh",Zk);const eO={name:"Vehicles",components:{Vehicle:sl},mixins:[yr],data(){return{refreshing:!1,vehicles:[{vehiclePresent:!0,vehicleTitle:"Ford Mustang Mach-E",vehicleSoC:46,vehicleRange:182,targetSoC:100},{vehiclePresent:!0,vehicleTitle:"Renault Twingo Electric",vehicleSoC:77,vehicleRange:98,targetSoC:90},{vehiclePresent:!0,vehicleTitle:"Blauer VW ID.4",vehicleSoC:16,vehicleRange:52,minSoC:35,targetSoC:60}]}},methods:{refresh(){this.refreshing=!0,window.setTimeout(()=>{this.refreshing=!1},5e3)}}},tO=e=>(Ft("data-v-62696742"),e=e(),Ht(),e),nO={class:"container px-4 mb-3 mb-sm-4 d-flex justify-content-start align-items-center"},rO={class:"m-0"},sO=["disabled"],iO=tO(()=>T("shopicon-regular-refresh",{class:"refresh-icon"},null,-1)),oO=[iO];function aO(e,t,n,r,s,i){const o=Ce("Vehicle");return V(),Y("div",null,[T("div",nO,[T("h2",rO,K(e.$t("main.vehicles")),1),T("button",{class:xe(["btn btn-link d-flex text-white p-2 ms-1 refresh",{"refresh--in-progress":s.refreshing}]),disabled:s.refreshing,onClick:t[0]||(t[0]=(...a)=>i.refresh&&i.refresh(...a))},oO,10,sO)]),T("div",{class:xe(["container vehicles px-0 mb-5",`vehicles-${s.vehicles.length}`])},[(V(!0),Y(Pe,null,Zt(s.vehicles,(a,l)=>(V(),Je(o,Rt(a,{id:`vehicle_${l}`,key:l,class:"vehicle",parked:""}),null,16,["id"]))),128))],2)])}var lO=Ie(eO,[["render",aO],["__scopeId","data-v-62696742"]]),cO='';class uO extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=cO}}window.customElements.define("shopicon-filled-testtube",uO);const fO={name:"Logo"},dO={viewBox:"0 0 122 35",xmlns:"http://www.w3.org/2000/svg","fill-rule":"evenodd","clip-rule":"evenodd","stroke-linejoin":"round","stroke-miterlimit":"2"},hO=T("path",{d:"M13.082 29.071a12.384 12.384 0 01-9-3.42 12.192 12.192 0 01-3.54-9.12v-.64a15.394 15.394 0 011.47-6.83 10.825 10.825 0 014.17-4.64 11.64 11.64 0 016.15-1.63 10.45 10.45 0 018.21 3.26c2 2.194 3 5.297 3 9.31v2.76H7.382a6.348 6.348 0 002 4 5.997 5.997 0 004.16 1.49 7.305 7.305 0 006.1-2.84l3.31 3.73a10 10 0 01-4.13 3.39 13.309 13.309 0 01-5.74 1.18zm-.77-20.84a4.216 4.216 0 00-3.26 1.37 7.141 7.141 0 00-1.6 3.91h9.39v-.55a5.005 5.005 0 00-1.22-3.49 4.304 4.304 0 00-3.31-1.24zM36.452 20.331l4.7-17.09h7l-8.48 25.36h-6.44l-8.52-25.36h7l4.74 17.09zM85.542 23.611a4.444 4.444 0 003-1 3.638 3.638 0 001.22-2.75h6.32a8.668 8.668 0 01-1.4 4.73 9.145 9.145 0 01-3.79 3.3 11.736 11.736 0 01-5.29 1.19 10.912 10.912 0 01-8.54-3.46c-2.087-2.3-3.13-5.483-3.13-9.55v-.45c0-3.9 1.033-7.016 3.1-9.35a10.868 10.868 0 018.51-3.5c2.791-.134 5.524.84 7.6 2.71a9.626 9.626 0 012.9 7.21h-6.3a4.663 4.663 0 00-1.2-3.22 4.005 4.005 0 00-3.08-1.24 4.068 4.068 0 00-3.56 1.73c-.8 1.15-1.2 3-1.2 5.6v.7c0 2.61.39 4.49 1.19 5.63a4.092 4.092 0 003.65 1.72zM110.422 23.611a4.454 4.454 0 003-1 3.63 3.63 0 001.21-2.75h6.33a8.668 8.668 0 01-1.4 4.73 9.143 9.143 0 01-3.73 3.3 11.76 11.76 0 01-5.29 1.18 10.912 10.912 0 01-8.54-3.46c-2.087-2.3-3.13-5.483-3.13-9.55v-.45c0-3.9 1.033-7.016 3.1-9.35a10.85 10.85 0 018.57-3.49 10.575 10.575 0 017.6 2.71 9.598 9.598 0 012.91 7.21h-6.33a4.651 4.651 0 00-1.21-3.22 4.492 4.492 0 00-6.64.49c-.8 1.15-1.21 3-1.21 5.6v.7c0 2.607.4 4.484 1.2 5.63a4.09 4.09 0 003.56 1.72z",fill:"#fff","fill-rule":"nonzero"},null,-1),mO=T("path",{d:"M58.462.751h9.22l-6.14 12.3h6.15l-11.53 21.51 2.3-15.36h-7.68l7.68-18.45z",fill:"#0fdd42","fill-rule":"nonzero"},null,-1),pO=T("path",{fill:"none",d:"M-24.458-22.109h170v76h-170z"},null,-1),gO=[hO,mO,pO];function _O(e,t,n,r,s,i){return V(),Y("svg",dO,gO)}var vO=Ie(fO,[["render",_O]]),bO='';class yO extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=bO}}window.customElements.define("shopicon-regular-gift",yO);var EO='';class wO extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=EO}}window.customElements.define("shopicon-regular-moonstars",wO);const TO={name:"Version",components:{Logo:vO},props:{installed:String,available:String,releaseNotes:String,commit:String,hasUpdater:Boolean,uploadMessage:String,uploadProgress:Number},data:function(){return{updateStarted:!1,updateStatus:""}},computed:{githubHashUrl:function(){return`https://github.com/evcc-io/evcc/commit/${this.commit}`},newVersionAvailable:function(){return this.available&&this.installed!="[[.Version]]"&&this.installed!="0.0.1-alpha"&&this.available!=this.installed}},methods:{update:async function(){try{await er.post("update"),this.updateStatus=this.$t("footer.version.modalUpdateStatusStart"),this.updateStarted=!0}catch(e){this.updateStatus=this.$t("footer.version.modalUpdateStatusStart")+e}},releaseNotesUrl:function(e){return`https://github.com/evcc-io/evcc/releases/tag/${e}`}}},zo=e=>(Ft("data-v-78dcbc78"),e=e(),Ht(),e),SO=["href"],CO=zo(()=>T("shopicon-regular-moonstars",{class:"ms-2 text-gray-light"},null,-1)),AO={class:"ms-2 text-gray-light d-none d-sm-inline"},kO={key:1,href:"#","data-bs-toggle":"modal","data-bs-target":"#updateModal",class:"btn btn-link ps-0 text-decoration-none text-white text-nowrap d-flex align-items-end"},OO=zo(()=>T("shopicon-regular-gift",{class:"me-2 text-evcc"},null,-1)),LO={class:"ms-2 d-none d-xs-block d-sm-none text-decoration-underline"},NO={class:"ms-2 d-none d-sm-block text-gray-medium text-decoration-underline"},$O=["href"],PO={id:"updateModal",class:"modal fade text-dark",tabindex:"-1",role:"dialog","aria-hidden":"true"},xO={class:"modal-dialog modal-dialog-centered modal-dialog-scrollable",role:"document"},IO={class:"modal-content"},RO={class:"modal-header"},MO={class:"modal-title"},DO=zo(()=>T("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1)),FO={class:"modal-body"},HO={key:0},BO={class:"progress my-3"},jO={key:1},VO=["innerHTML"],UO={key:1},WO=["href"],zO=Me(". "),KO={class:"modal-footer d-flex justify-content-between"},YO=["disabled"],qO=["disabled"],GO={key:0},XO=zo(()=>T("span",{class:"spinner-border spinner-border-sm",role:"status","aria-hidden":"true"},null,-1)),JO={key:1},QO=["href"];function ZO(e,t,n,r,s,i){const o=Ce("Logo");return V(),Y("div",null,[n.commit?(V(),Y("a",{key:0,href:i.githubHashUrl,target:"_blank",class:"btn btn-link ps-0 text-decoration-none text-white text-nowrap d-flex align-items-end"},[se(o,{class:"logo me-2"}),Me(" v"+K(n.installed)+" ",1),CO,T("span",AO,"["+K(n.commit)+"]",1)],8,SO)):i.newVersionAvailable?(V(),Y("button",kO,[OO,Me(" v"+K(n.installed)+" ",1),T("span",LO,K(e.$t("footer.version.availableShort")),1),T("span",NO,K(e.$t("footer.version.availableLong")),1)])):(V(),Y("a",{key:2,href:i.releaseNotesUrl(n.installed),target:"_blank",class:"btn btn-link text-white ps-0 text-decoration-none text-nowrap d-flex align-items-end"},[se(o,{class:"logo me-2"}),Me(" v"+K(n.installed),1)],8,$O)),T("div",PO,[T("div",xO,[T("div",IO,[T("div",RO,[T("h5",MO,K(e.$t("footer.version.modalTitle")),1),DO]),T("div",FO,[e.updateStarted?(V(),Y("div",HO,[T("p",null,K(e.$t("footer.version.modalUpdateStarted")),1),T("div",BO,[T("div",{class:"progress-bar progress-bar-striped progress-bar-animated",role:"progressbar",style:Ke({width:n.uploadProgress+"%"})},null,4)]),T("p",null,K(e.updateStatus)+K(n.uploadMessage),1)])):(V(),Y("div",jO,[T("p",null,[T("small",null,K(e.$t("footer.version.modalInstalledVersion"))+": "+K(n.installed),1)]),n.releaseNotes?(V(),Y("div",{key:0,innerHTML:n.releaseNotes},null,8,VO)):(V(),Y("p",UO,[Me(K(e.$t("footer.version.modalNoReleaseNotes"))+" ",1),T("a",{href:i.releaseNotesUrl(n.available)},"GitHub",8,WO),zO]))]))]),T("div",KO,[T("button",{type:"button",class:"btn btn-outline-secondary",disabled:e.updateStarted,"data-bs-dismiss":"modal"},K(e.$t("footer.version.modalCancel")),9,YO),T("div",null,[n.hasUpdater?(V(),Y("button",{key:0,type:"button",class:"btn btn-primary",disabled:e.updateStarted,onClick:t[0]||(t[0]=(...a)=>i.update&&i.update(...a))},[e.updateStarted?(V(),Y("span",GO,[XO,Me(" "+K(e.$t("footer.version.modalUpdate")),1)])):(V(),Y("span",JO,K(e.$t("footer.version.modalUpdateNow")),1))],8,qO)):(V(),Y("a",{key:1,href:i.releaseNotesUrl(n.available),class:"btn btn-primary"},K(e.$t("footer.version.modalDownload")),9,QO))])])])])])])}var eL=Ie(TO,[["render",ZO],["__scopeId","data-v-78dcbc78"]]),hi={};(function e(t,n,r,s){var i=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL);function o(){}function a(P){var x=n.exports.Promise,Z=x!==void 0?x:t.Promise;return typeof Z=="function"?new Z(P):(P(o,o),null)}var l=function(){var P=Math.floor(16.666666666666668),x,Z,ee={},oe=0;return typeof requestAnimationFrame=="function"&&typeof cancelAnimationFrame=="function"?(x=function(le){var ue=Math.random();return ee[ue]=requestAnimationFrame(function pe(ve){oe===ve||oe+P-1evcc.yaml. Die Standardkonfiguration evcc.dist.yaml kann daf\xFCr als Vorlage dienen (Download). chargers.meters. site. In einer Site wird der Netzanschluss mit dem konfigurierten EVU Z\xE4hler (meter) verbunden. loadpoints. In einem Ladepunkt wird die konfigurierte Wallbox (charger) mit dem Ladepunkt verbunden. evcc -c evcc.yaml uri: localhost:7070 # Adresse f\xFCr UI
interval: 10s # Regelintervall
meters:
- name: evu-z\xE4hler
@@ -50,44 +50,44 @@ var tg=Object.defineProperty,ng=Object.defineProperties;var rg=Object.getOwnProp
charger: wallbox # charger
meters:
charge: ladez\xE4hler # Ladez\xE4hlers (optional)
-
Viel Spass mit evcc! Bei Problemen kannst Du uns auf GitHub erreichen.