NEWS
Vorstellung meiner VIS
-
und darauf dann ne VM mit Windows?
-
Ne eine VM kann man nur in proxmox oder ähnlichen laufen lassen.
Ich würde ein raspi mit einem debian image laufen lassen und dann auf diesem den nut Service installieren. Dann kannst du mit iobroker (windows) über den nut Adapter die Daten abfragen...
-
ah ok. und den Nut service für windows gibts wo?
-
Wie oben geschrieben weiß ich nicht ob es den nut Service für windows gibt —> googlen!
Nur der nut Adapter der im iobroker läuft, käuft logischerweise auch auf Windows.
-
Alles klar. danke.
Habe auf nem Raspberry den nut adapter drauf und auf dem Win PC grieg ich da irgendwie nichts.
Egal. Geht auch ohne -
@saeft_2003 Wie hast du das gemacht mit dem QR-Code? Ich bin schon die ganze Zeit am rätseln und komme nicht drauf.
Schaltest du das Gastnetz in der Fritzbox oder im UAP? -
-
@Chaot sagte in Vorstellung meiner VIS:
@saeft_2003 Wie hast du das gemacht mit dem QR-Code? Ich bin schon die ganze Zeit am rätseln und komme nicht drauf.
Schaltest du das Gastnetz in der Fritzbox oder im UAP?Ich denke Glasfaser hat schon viel gesagt, ich schalte das Gästenetzwerk von der fritzbox 7490 über einen Datenpunkt im Adapter....
-
@saeft_2003 Ok, dann klappt das leider für mich nicht.
Ich kann an der Fritzbox das Gastnetz zwar schalten, aber das ist dann dort wo ich das benötige nicht ausreichend.
Ich muss über den UAP gehen.
Trotzdem Danke für die schnelle Antwort! -
@Glasfaser sagte in Vorstellung meiner VIS:
Ich hab jetzt das auch so wie von dir beschrieben gemacht, dass jede Nacht ein neues Passwort erstellt wird und ein QR-Code generiert wird.
Wenn ich diesen scanne mit dem smartphone sagt er Netzwerk beitreten, danach kommt die Fehlermeldung dass das nicht möglich ist. Ich gehe davon aus dass das Passwort im QR-Code falsch ist, weil das vom Skript generierte wird auch in den Datenpunkt der fritzbox geschrieben.
Wenn ich jetzt in der fritzbox auf Gästenetzwerk gehe und mir dort den QR-Code anzeigen lasse, sieht dieser auch anders aus... Hinter WPA2 steht in Klammern noch CCMP. Könnte es vielleicht daran liegen, oder hast du noch eine andere Idee?
EDIT: Auch mit dem QR-Code von der fritzbox klappte das Anmelden nicht, erst wie ich mein Passwort wieder auf mein altes nicht generiertes geändert habe, konnte ich mich wieder anmelden. Irgendwas geht schief wenn das Skript das Passwort in den Datenpunkt schreibt.
// https://www.npmjs.com/package/qr-image var MySSID = "Krip*******"; // SSID Name var MyCrypt = "WPA2"; // [WEP|WPA|WPA2] var MyVisibility = "n"; // Hidden SSID? var cronStr = "3 1 * * *" // Script wird jeden Tag um 03:01 Ausgeführt var idQRZiel = "javascript.0.QR-Code"; // Zieldatenpunkt für QR-Code var IdGPasswd = "tr-064.0.states.wlanGuestPassword"; /*wlanGuestPassword*/ if(MyVisibility == "y") { var MyHidden="H:true"; } else { MyHidden=""; } createState(idQRZiel, "", { name: 'QR-Code für Gastpasswort', desc: 'QR-Code für Gastpasswort', type: 'string', role: 'value' }); function randomString(length) { // Methode zur Erstellung eines Random-Passworts kann angepasst werden return Math.round((Math.pow(36, length + 1) - Math.random() * Math.pow(36, length))).toString(36).slice(1); } function createQRcode() { var qr = require('qr-image'); var NewPasswd = randomString(16); // 16 Stelliges Passwort var svg_string = qr.imageSync('WIFI:S:'+MySSID+';T:'+MyCrypt+';P:'+NewPasswd+';'+MyHidden+';', { type: 'svg' }); setState(idQRZiel, svg_string); setState(IdGPasswd, NewPasswd); console.log('+++ Wlan Gast QR-Code neu erstellt +++'); } // regelmässige Wiederholungen schedule(cronStr, createQRcode);
-
@saeft_2003 sagte in Vorstellung meiner VIS:
EDIT: Auch mit dem QR-Code von der fritzbox klappte das Anmelden nicht, erst wie ich mein Passwort wieder auf mein altes nicht generiertes geändert habe, konnte ich mich wieder anmelden. Irgendwas geht schief wenn das Skript das Passwort in den Datenpunkt schreibt.
!??
Welches altes Passwort schreibts du da rein ?
Stimmt der Datenpunkt : " tr-064.0.states.wlanGuestPassword "auch bei dir , das er mit dem generierten Code gefüllt wird ?
Du kannst es ja testen mit der Fritzbox ... :
Schreibe im Datenpunkt ein Code rein zb. 123456 und dann melde die ohne QR.Code in deine " K**********" Gastnetz mit dem Code an .
Bin gerade nicht Zuhause deshalb kann ich dir gerade nur bedingt weiterhelfen .
-
was ich gestern geschrieben habe stimmt nur bedingt. Vielleicht ist es auch das Problem das ich mich dann über einen fritzbox Repeater anmelden will.
Ich muss das ganze noch mal mir in Ruhe anschauen. Das komische ist auch das heute Nacht um drei kein neues Passwort erstellt wurde. Ich hatte es zum Test auf ***** geändert da hat es funktioniert, heute Nacht probier ich es nochmal.
-
var cronStr = "3 1 * * *"
ist 1:03 Uhr aktualisieren .
Du kannst zum testen es auf eine Minute stellen , im LOG erscheint dann " +++ Wlan Gast QR-Code neu erstellt +++ " und dann stoppen .
var cronStr = "* * * * *"
Edit : Habe den Rest nicht gelesen hast du ja schon gemacht
-
Denke da hab ich den Fehler schon. Ich habe das Skript gestern nach 1:03 gestartet. Heute Nacht um 3:01 wird es denke ich klappen...
-
-
ja gestern war ich eine Nachteule, aber heute gehts gleich ins Bettchen...
Das mit dem Datenpunkt ist klar, ich hab jetzt im Repeater den Gastzugang deaktiviert, sodass ich mich direkt an der 7490 anmelden muss. Morgen probier ich dann das ganze nochmal aus...
-
@saeft_2003 sagte in Vorstellung meiner VIS:
Denke da hab ich den Fehler schon. Ich habe das Skript gestern nach 1:03 gestartet. Heute Nacht um 3:01 wird es denke ich klappen...
1:03 Uhr wird aktualisiert
Gehe mal ins Bettchen …..
-
Läuft jetzt keine Ahnung an was es gelegen hat...
-
@sigi234 sagte in Vorstellung meiner VIS:
Hi Sigi!
Könnte ich von diesem View einen Export dieser Widget haben?
-
Könnte ich von diesem View einen Export dieser Widget haben?
[{"tpl":"tplHqButton","data":{"g_fixed":true,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"oid":"hm-rega.0.22425.ProgramExecute","min":"","max":"","iconName":"/icons-mfd-svg/audio_volume_high.svg","btIconWidth":"77","offsetAuto":true,"leftOffset":"0","topOffset":"0","timeAsInterval":false,"infoLeftFontSize":"6","infoFontRightSize":"6","infoLeftPaddingLeft":"0","infoLeftPaddingRight":"0","infoRightPaddingRight":"0","oid-working":"","oid-battery":"","descriptionLeft":"Yamaha Plus execute","pushButton":true,"styleNormal":"","styleActive":"","usejQueryStyle":true,"changeEffect":"pulse","testActive":true,"waveColor":"#e3e3e3","format_date":"DD.MM.YYYY hh:mm:ss","hoursLastAction":"","infoColor":"transparent","infoBackground":"Transparent","infoRightPaddingLeft":"0","infoRight":"","iconOn":"/icons-mfd-svg/audio_volume_high.svg","visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"name":"+","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"995px","top":"159px","z-index":"1","width":"76px","height":"75px","text-align":""},"widgetSet":"hqwidgets"},{"tpl":"tplHqButton","data":{"g_fixed":true,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":true,"g_gestures":false,"g_signals":false,"oid":"hm-rega.0.22436.ProgramExecute","min":"","max":"","iconName":"/icons-mfd-svg/audio_volume_low.svg","btIconWidth":"77","offsetAuto":false,"leftOffset":"10","topOffset":"-3","timeAsInterval":true,"infoLeftFontSize":"6","infoFontRightSize":"6","infoLeftPaddingLeft":"0","infoLeftPaddingRight":"0","infoRightPaddingRight":"0","oid-working":"","oid-battery":"","descriptionLeft":"-","pushButton":true,"styleNormal":"hq-button-base-on","styleActive":"hq-button-base-outtemp","usejQueryStyle":true,"changeEffect":"pulse","testActive":true,"waveColor":"#e3e3e3","format_date":"DD.MM.YYYY hh:mm:ss","hoursLastAction":"","infoColor":"","infoBackground":"Transparent","infoRightPaddingLeft":"0","infoRight":"","iconOn":"/icons-mfd-svg/audio_volume_low.svg","visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"name":"-","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"1200px","top":"160px","z-index":"1","width":"76px","height":"75px","text-align":"","border-color":"","border-width":""},"widgetSet":"hqwidgets"},{"tpl":"tplValueFloat","data":{"oid":"yamaha.0.Realtime.MAIN.VOL","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":true,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","is_comma":false,"is_tdp":true,"factor":"1","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"html_append_singular":"","html_append_plural":" dB","html_prepend":"","digits":"1","g_last_change":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"1078px","top":"189px","color":"#d7cec1","width":"118px","height":"26px","text-align":"center","font-size":"x-large","z-index":"1","background-color":"","text-shadow":"","font-style":"normal","font-variant":"normal","font-weight":"normal","line-height":"1","letter-spacing":"12","word-spacing":"22","background-origin":"","background-attachment":"","font-family":"RobotoCondensed-Light"},"widgetSet":"basic"},{"tpl":"tplkodiButton","data":{"g_fixed":false,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":true,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"oid_next":"yamaha.0.Commands.skip","oid_stop":"yamaha.0.Commands.stop","oid_mute":"yamaha.0.Commands.toggleMute","oid_rpt":"yamaha.0.Commands.rewind"},"style":{"left":"934px","top":"94px","z-index":"5","width":"400px","height":"50px","border-color":"#000000","border-width":"1px","border-style":"solid","border-radius":"5px"},"widgetSet":"kodi"},{"tpl":"tplValueStringRaw","data":{"oid":"yamaha.0.Realtime.MAIN.VOL","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"html_prepend":"","html_append":" dB"},"style":{"left":"1295px","top":"253px","width":"30px","height":"20px","z-index":"3","font-size":"medium","text-align":"left","opacity":"","line-height":"","color":"#bababa","word-spacing":"","font-family":"RobotoCondensed-Light"},"widgetSet":"basic"},{"tpl":"tplJquiSlider","data":{"oid":"yamaha.0.Realtime.MAIN.VOL","g_fixed":true,"g_visibility":false,"g_css_font_text":true,"g_css_background":true,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"min":"-80","max":"0","step":"5","inverted":false,"oid-2":"","oid-working":"","oid-2-working":"","class":"mdui-slider mdui-blue-acc"},"style":{"left":"984px","top":"254px","z-index":"5","width":"290px","height":"20px","background-color":"#474747","background":"#474747","color":""},"widgetSet":"jqui"},{"tpl":"tplValueStringRaw","data":{"oid":"","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"html_prepend":"Vol."},"style":{"left":"949px","top":"254px","width":"30px","height":"20px","z-index":"3","font-size":"medium","text-align":"left","opacity":"","line-height":"","color":"#bababa","word-spacing":"","font-family":"RobotoCondensed-Light"},"widgetSet":"basic"}]