70_WINCONNECT.pm zum Steuern eines Windows PC / Tablet

Begonnen von michael.winkler, 19 Oktober 2016, 10:08:42

Vorheriges Thema - Nächstes Thema

TWART016

Mit 0.0.22 wird mit der State vom Device als off angezeigt, obwohl der PC an ist.

Die anderen Readings werden alle korrekt aktualisiert.

Internals:
   DEF        NBT
   INTERVAL   45
   NAME       WinNBT
   NR         646
   STATE      off
   TYPE       WINCONNECT
   READINGS:
     2017-09-02 22:29:38   audio           off
     2017-09-02 22:28:25   audio_devicename Lautsprecher
     2017-09-02 22:30:38   battery_ChargeStatus Middle
     2017-09-02 22:31:54   battery_LifePercent 53
     2017-09-02 22:31:54   battery_LifeRemainingsMin 167
     2017-09-02 22:30:39   battery_PowerLineStatus Offline
     2017-09-02 22:30:38   bios_boardmanufacturer FUJITSU
     2017-09-02 22:30:38   bios_boardproduct FJNB26F
     2017-09-02 22:30:38   bios_boardversion L3
     2017-09-02 22:30:38   bios_releasedate 03/10/2014
     2017-09-02 22:30:37   bios_vendor     FUJITSU // Phoenix Technologies Ltd.
     2017-09-02 22:30:37   bios_version    Version 1.08
     2017-09-02 22:30:39   brightness      100
     2017-09-02 22:28:31   core_temp_state not_installed
     2017-09-02 22:30:36   cpu_0_mhz       2893
     2017-09-02 22:30:36   cpu_0_name      Intel(R) Core(TM) i7-4600M CPU @ 2.90GHz
     2017-09-02 22:30:37   cpu_1_mhz       2893
     2017-09-02 22:30:36   cpu_1_name      Intel(R) Core(TM) i7-4600M CPU @ 2.90GHz
     2017-09-02 22:30:37   cpu_2_mhz       2893
     2017-09-02 22:30:37   cpu_2_name      Intel(R) Core(TM) i7-4600M CPU @ 2.90GHz
     2017-09-02 22:30:37   cpu_3_mhz       2893
     2017-09-02 22:30:37   cpu_3_name      Intel(R) Core(TM) i7-4600M CPU @ 2.90GHz
     2017-09-02 22:28:30   drive_C_Format  NTFS
     2017-09-02 22:28:30   drive_C_Space_AvailableFree 75966
     2017-09-02 22:33:23   drive_C_Space_AvailableFree_GB 74.19 GB
     2017-09-02 22:28:30   drive_C_Space_Total 121537
     2017-09-02 22:33:23   drive_C_Space_Total_GB 118.69 GB
     2017-09-02 22:28:30   drive_C_Space_Used 45571
     2017-09-02 22:33:23   drive_C_Space_Used_GB 44.50 GB
     2017-09-02 22:28:30   drive_C_Type    Fixed
     2017-08-27 22:05:37   drive_E_Format  UDF
     2017-08-27 22:05:37   drive_E_Label   15.0.4420.1017
     2017-08-27 22:05:37   drive_E_Space_Total 680
     2017-08-27 22:05:37   drive_E_Space_Used 680
     2017-08-27 22:05:37   drive_E_Type    CDRom
     2017-09-02 22:30:35   file_filter     *.*
     2017-09-02 22:30:35   file_order      descending
     2017-08-26 01:58:50   last_command    shutdown -s -t 0
     2017-09-02 22:33:02   memory_available 12.816
     2017-09-02 22:30:37   memory_total    16.261
     2017-08-25 01:39:24   messagebox      test
     2017-09-02 22:30:35   microphone_detect False
     2017-09-02 22:28:25   microphone_devicename Mikrofon
     2017-09-02 22:30:23   model           Windows 10 Pro
     2017-09-02 22:30:35   motion_autodetect False
     2017-09-02 22:30:35   motion_detect   False
     2017-08-25 01:55:52   motion_last_picture WinNBT_motion_25.08.2017_01-55-49.jpg
     2017-09-02 22:28:30   mute            off
     2017-08-25 01:39:08   notifymsg       test
     2017-09-02 22:30:36   os_Domainname   NBT
     2017-09-02 22:30:36   os_Hostname     NBT
     2017-09-02 22:30:36   os_InstallDate  23.08.2017 19:37:47
     2017-09-02 22:30:35   os_Name         Windows 10 Pro
     2017-09-02 22:30:36   os_ReleasID     1703
     2017-09-02 22:29:38   os_RunTime_days 0
     2017-09-02 22:29:38   os_RunTime_hours 0
     2017-09-02 22:33:23   os_RunTime_minutes 0
     2017-09-02 22:30:36   os_StartTime    02.09.2017 17:12:50
     2017-09-02 22:30:35   os_Type         Client
     2017-09-02 22:30:36   os_Username     Tim
     2017-09-02 22:30:36   os_Version      10.0.15063.540
     2017-09-02 22:30:35   picture_dir     C:\Daten\Bilder\Screenshots
     2017-08-25 01:57:00   picture_filename WinNBT_25.08.2017_01-56-59.jpg
     2017-08-25 01:55:10   picture_lasterror picture_dir not exist
     2017-09-02 22:30:38   printer_aktiv   false
     2017-09-02 22:31:08   printer_names   no_prining
     2017-09-02 22:28:30   speechcommands  set camera on
     2017-09-02 22:28:30   speechcontrol   on
     2017-09-02 19:48:07   speecherrormessage set camera on
     2017-09-02 19:48:07   speecherrormessagequality 24,8349
     2017-09-02 22:30:38   speechquality   70
     2017-09-02 22:33:23   startzeitNBT    17:12:50
     2017-09-02 22:31:08   state           off
     2017-09-02 22:29:38   user_aktiv      false
     2017-09-02 22:30:38   user_aktividletime 60
     2017-09-02 22:30:53   volume          36
     2017-09-02 22:30:35   wincontrol      0.0.22
     2017-09-02 22:29:38   wincontrol_gitlab 0.0.22
     2017-09-02 22:29:38   wincontrol_gitlab_url https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
     2017-09-02 22:33:23   wincontrol_startZeit 22:28:23
     2017-09-02 22:30:35   wincontrol_starttime 02.09.2017 22:28:23
     2017-08-30 23:39:10   wincontrol_update 1503615876
     2017-09-02 22:30:35   wincontrol_user NBT\Tim
     2017-09-02 22:28:32   wmi_hdd_0_temperature ERROR=no value was found
   helper:
     ADDRESS    NBT
Attributes:
   icon       it_server
   userReadings drive_C_Space_AvailableFree_GB {sprintf("%.2f",ReadingsVal($name,"drive_C_Space_AvailableFree", 0)/1024)." GB";;},
drive_C_Space_Total_GB {sprintf("%.2f",ReadingsVal($name,"drive_C_Space_Total", 0)/1024)." GB";;},
drive_C_Space_Used_GB {sprintf("%.2f",ReadingsVal($name,"drive_C_Space_Used", 0)/1024)." GB";;},
startzeitNBT { my @a = split ' ',ReadingsVal($name,'os_StartTime',0);$a[1] },
wincontrol_startZeit { my @a = split ' ',ReadingsVal($name,'wincontrol_starttime',0);$a[1] },
   volumeStep 2
   win_resetreadings 1

ToM_ToM

Hey, ich habe seit heute dieses Modul im Einsatz um die Festplattenspeicher meines MediaCenters anzeigen zu lassen.
Und das funktioniert wirklich super.

Jedoch ballert mir das Modul mein Logfile zu. Ich habe auch die Version 0.0.22. ;)



2017.09.02 22:39:25 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:39:27 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:40:10 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:40:12 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:40:55 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:40:56 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:41:40 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:41:46 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:42:25 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:42:27 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:43:10 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:43:12 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:43:55 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:43:57 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:44:40 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:44:42 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:45:25 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:45:27 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:46:10 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:46:12 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:46:55 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:47:03 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:47:40 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:47:42 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:48:25 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe


VG, Thomas
Hardware: BananaPi, Busmaster CUL, SanDisk 16GB Ultra SD, 16 GB USB-Stick | Software: Armbian, FHEM 5.8

michael.winkler

Zitat von: TWART016 am 02 September 2017, 19:32:59
Mit der neuen Version geht es. Könntest du bitte auch noch den Charging Status anpassen. Bei Middle steht nur "Charging", bei High jedoch "High, Charging".

Beenden kann ich WinConnect über das Icon links oben. Könntest du das vllt noch rechts oben über das Windows X und im Trag über rechtsklick hinzufügen?
Über das X kann ich es leider nicht machen, da ich es verhindern möchte dass damit die GUI komplett zu geht. Über das Trayicon kann ich es noch einbauen.

Den Charging Status kann ich hier auch nicht weiter anpassen. Die Werte die dort angezeigt werden kommen direkt von Windows. Laut Windows Doku gibt es keine 0, deswegen habe ich dort Middle geschrieben.

michael.winkler

Zitat von: TWART016 am 02 September 2017, 22:34:40
Mit 0.0.22 wird mit der State vom Device als off angezeigt, obwohl der PC an ist.

Die anderen Readings werden alle korrekt aktualisiert.

Internals:
   DEF        NBT
   INTERVAL   45
   NAME       WinNBT
   NR         646
   STATE      off
   TYPE       WINCONNECT
   READINGS:
     2017-09-02 22:29:38   audio           off
     2017-09-02 22:28:25   audio_devicename Lautsprecher
     2017-09-02 22:30:38   battery_ChargeStatus Middle
     2017-09-02 22:31:54   battery_LifePercent 53
     2017-09-02 22:31:54   battery_LifeRemainingsMin 167
     2017-09-02 22:30:39   battery_PowerLineStatus Offline
     2017-09-02 22:30:38   bios_boardmanufacturer FUJITSU
     2017-09-02 22:30:38   bios_boardproduct FJNB26F
     2017-09-02 22:30:38   bios_boardversion L3
     2017-09-02 22:30:38   bios_releasedate 03/10/2014
     2017-09-02 22:30:37   bios_vendor     FUJITSU // Phoenix Technologies Ltd.
     2017-09-02 22:30:37   bios_version    Version 1.08
     2017-09-02 22:30:39   brightness      100
     2017-09-02 22:28:31   core_temp_state not_installed
     2017-09-02 22:30:36   cpu_0_mhz       2893
     2017-09-02 22:30:36   cpu_0_name      Intel(R) Core(TM) i7-4600M CPU @ 2.90GHz
     2017-09-02 22:30:37   cpu_1_mhz       2893
     2017-09-02 22:30:36   cpu_1_name      Intel(R) Core(TM) i7-4600M CPU @ 2.90GHz
     2017-09-02 22:30:37   cpu_2_mhz       2893
     2017-09-02 22:30:37   cpu_2_name      Intel(R) Core(TM) i7-4600M CPU @ 2.90GHz
     2017-09-02 22:30:37   cpu_3_mhz       2893
     2017-09-02 22:30:37   cpu_3_name      Intel(R) Core(TM) i7-4600M CPU @ 2.90GHz
     2017-09-02 22:28:30   drive_C_Format  NTFS
     2017-09-02 22:28:30   drive_C_Space_AvailableFree 75966
     2017-09-02 22:33:23   drive_C_Space_AvailableFree_GB 74.19 GB
     2017-09-02 22:28:30   drive_C_Space_Total 121537
     2017-09-02 22:33:23   drive_C_Space_Total_GB 118.69 GB
     2017-09-02 22:28:30   drive_C_Space_Used 45571
     2017-09-02 22:33:23   drive_C_Space_Used_GB 44.50 GB
     2017-09-02 22:28:30   drive_C_Type    Fixed
     2017-08-27 22:05:37   drive_E_Format  UDF
     2017-08-27 22:05:37   drive_E_Label   15.0.4420.1017
     2017-08-27 22:05:37   drive_E_Space_Total 680
     2017-08-27 22:05:37   drive_E_Space_Used 680
     2017-08-27 22:05:37   drive_E_Type    CDRom
     2017-09-02 22:30:35   file_filter     *.*
     2017-09-02 22:30:35   file_order      descending
     2017-08-26 01:58:50   last_command    shutdown -s -t 0
     2017-09-02 22:33:02   memory_available 12.816
     2017-09-02 22:30:37   memory_total    16.261
     2017-08-25 01:39:24   messagebox      test
     2017-09-02 22:30:35   microphone_detect False
     2017-09-02 22:28:25   microphone_devicename Mikrofon
     2017-09-02 22:30:23   model           Windows 10 Pro
     2017-09-02 22:30:35   motion_autodetect False
     2017-09-02 22:30:35   motion_detect   False
     2017-08-25 01:55:52   motion_last_picture WinNBT_motion_25.08.2017_01-55-49.jpg
     2017-09-02 22:28:30   mute            off
     2017-08-25 01:39:08   notifymsg       test
     2017-09-02 22:30:36   os_Domainname   NBT
     2017-09-02 22:30:36   os_Hostname     NBT
     2017-09-02 22:30:36   os_InstallDate  23.08.2017 19:37:47
     2017-09-02 22:30:35   os_Name         Windows 10 Pro
     2017-09-02 22:30:36   os_ReleasID     1703
     2017-09-02 22:29:38   os_RunTime_days 0
     2017-09-02 22:29:38   os_RunTime_hours 0
     2017-09-02 22:33:23   os_RunTime_minutes 0
     2017-09-02 22:30:36   os_StartTime    02.09.2017 17:12:50
     2017-09-02 22:30:35   os_Type         Client
     2017-09-02 22:30:36   os_Username     Tim
     2017-09-02 22:30:36   os_Version      10.0.15063.540
     2017-09-02 22:30:35   picture_dir     C:\Daten\Bilder\Screenshots
     2017-08-25 01:57:00   picture_filename WinNBT_25.08.2017_01-56-59.jpg
     2017-08-25 01:55:10   picture_lasterror picture_dir not exist
     2017-09-02 22:30:38   printer_aktiv   false
     2017-09-02 22:31:08   printer_names   no_prining
     2017-09-02 22:28:30   speechcommands  set camera on
     2017-09-02 22:28:30   speechcontrol   on
     2017-09-02 19:48:07   speecherrormessage set camera on
     2017-09-02 19:48:07   speecherrormessagequality 24,8349
     2017-09-02 22:30:38   speechquality   70
     2017-09-02 22:33:23   startzeitNBT    17:12:50
     2017-09-02 22:31:08   state           off
     2017-09-02 22:29:38   user_aktiv      false
     2017-09-02 22:30:38   user_aktividletime 60
     2017-09-02 22:30:53   volume          36
     2017-09-02 22:30:35   wincontrol      0.0.22
     2017-09-02 22:29:38   wincontrol_gitlab 0.0.22
     2017-09-02 22:29:38   wincontrol_gitlab_url https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
     2017-09-02 22:33:23   wincontrol_startZeit 22:28:23
     2017-09-02 22:30:35   wincontrol_starttime 02.09.2017 22:28:23
     2017-08-30 23:39:10   wincontrol_update 1503615876
     2017-09-02 22:30:35   wincontrol_user NBT\Tim
     2017-09-02 22:28:32   wmi_hdd_0_temperature ERROR=no value was found
   helper:
     ADDRESS    NBT
Attributes:
   icon       it_server
   userReadings drive_C_Space_AvailableFree_GB {sprintf("%.2f",ReadingsVal($name,"drive_C_Space_AvailableFree", 0)/1024)." GB";;},
drive_C_Space_Total_GB {sprintf("%.2f",ReadingsVal($name,"drive_C_Space_Total", 0)/1024)." GB";;},
drive_C_Space_Used_GB {sprintf("%.2f",ReadingsVal($name,"drive_C_Space_Used", 0)/1024)." GB";;},
startzeitNBT { my @a = split ' ',ReadingsVal($name,'os_StartTime',0);$a[1] },
wincontrol_startZeit { my @a = split ' ',ReadingsVal($name,'wincontrol_starttime',0);$a[1] },
   volumeStep 2
   win_resetreadings 1

Kannst du mir mal die Support Infos zukommen lassen?  https://wiki.fhem.de/wiki/WINCONNECT#Support_Informationen

michael.winkler

Zitat von: ToM_ToM am 02 September 2017, 22:55:46
Hey, ich habe seit heute dieses Modul im Einsatz um die Festplattenspeicher meines MediaCenters anzeigen zu lassen.
Und das funktioniert wirklich super.

Jedoch ballert mir das Modul mein Logfile zu. Ich habe auch die Version 0.0.22. ;)



2017.09.02 22:39:25 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:39:27 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:40:10 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:40:12 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:40:55 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:40:56 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:41:40 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:41:46 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:42:25 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:42:27 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:43:10 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:43:12 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:43:55 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:43:57 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:44:40 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:44:42 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:45:25 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:45:27 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:46:10 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:46:12 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:46:55 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:47:03 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:47:40 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.02 22:47:42 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.02 22:48:25 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe


VG, Thomas
Dein FHEM Server scheint wohl Probleme zu haben die GUI herunterzuladen. Wenn alles sauber funktioniert sollte die Datei in folgendem Verzeichnis liegen "/opt/fhem/www/winconnect/WinControl.exe".

Kann es eventuell sein das die Verzeichnissrechte im Linux hier nicht passt?

ToM_ToM

#515
ZitatDein FHEM Server scheint wohl Probleme zu haben die GUI herunterzuladen. Wenn alles sauber funktioniert sollte die Datei in folgendem Verzeichnis liegen "/opt/fhem/www/winconnect/WinControl.exe".
Warum muss ich denn die EXE auf meinen Pi downloaden? Das reicht doch, wenn ich die auf dem MediaCenter ausführe. Auf dem Pi kann ich doch mit der EXE sowieso nichts anfangen.

EDIT: Okay, habe das Attribut zum deaktivieren gefunden :)

VG, Thomas
Hardware: BananaPi, Busmaster CUL, SanDisk 16GB Ultra SD, 16 GB USB-Stick | Software: Armbian, FHEM 5.8

michael.winkler

Zitat von: ToM_ToM am 02 September 2017, 23:39:19
Warum muss ich denn die EXE auf meinen Pi downloaden? Das reicht doch, wenn ich die auf dem MediaCenter ausführe. Auf dem Pi kann ich doch mit der EXE sowieso nichts anfangen.

EDIT: Okay, habe das Attribut zum deaktivieren gefunden :)

VG, Thomas
Da es so ist, dass das Modul die GUI auf den FHEM Server läd, damit die GUI sich selber Updaten kann. Das soll sicherstellen, dass die GUI immer zum Modul passt.

the ratman

ich möchte hier mal schon wegen dem teerko-modul vorfühlen *bg*

sag: gibt es ne möglichkeit tts für wincconect zu mißbrauchen?
sprich: ich erzähle cortana was, die bauts in text um und winconnect bringt den text als reading in fehm. teerko könnte den text dann zum befehl weiter verarbeiten.

ich bin gestern über teerko gestolpert und hab inerhalb 10 minuten alle meine androiden an teerko gebunden. so kann ich von allen androiden sprachbefehle mit (fast) natürlichen satzstellungen und verschachtelungen absenden. und dabei ist teerko noch alpha ( https://forum.fhem.de/index.php/topic,72657.0.html ).
da fehlt echt nur noch ne schnittstelle wie winconnect für windows ... amad für android und das sonso-zeugs sind schon dabei ...
→do↑p!dnʇs↓shit←

solidphili

Zitat von: michael.winkler am 02 September 2017, 23:13:39
Dein FHEM Server scheint wohl Probleme zu haben die GUI herunterzuladen. Wenn alles sauber funktioniert sollte die Datei in folgendem Verzeichnis liegen "/opt/fhem/www/winconnect/WinControl.exe".

Kann es eventuell sein das die Verzeichnissrechte im Linux hier nicht passt?
Hi Michael,

ich habe das gleiche Problem. Die Rechte stimmen allerdings für den Ordner "/opt/fhem/www/winconnect/" und auch die Datei "/opt/fhem/www/winconnect/WinControl_0.0.22.exe" existiert und ist zugreifbar.

Ich bekomme folgende Fehlermeldung im Log:

2017.09.04 16:20:13 5: WINCONNECT Kiste: called function WINCONNECT_GetStatus()
2017.09.04 16:20:13 5: WINCONNECT Kiste: filename  = ././www/winconnect/WinControl.exe filemtime =
2017.09.04 16:20:13 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.04 16:20:13 5: WINCONNECT Kiste: called function WINCONNECT_SendCommand()
2017.09.04 16:20:15 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.04 16:20:16 5: WINCONNECT Kiste: error while requesting http://192.168.178.51:8183/fhem/powerstate=off;statusrequest;0 - 192.168.178.51: Keine Route zum Zielrechner

Woran kann das liegen? Ich bekomme den Fehler auch, wenn das Gerät an ist

michael.winkler

Zitat von: solidphili am 04 September 2017, 16:29:22
Hi Michael,

ich habe das gleiche Problem. Die Rechte stimmen allerdings für den Ordner "/opt/fhem/www/winconnect/" und auch die Datei "/opt/fhem/www/winconnect/WinControl_0.0.22.exe" existiert und ist zugreifbar.

Ich bekomme folgende Fehlermeldung im Log:

2017.09.04 16:20:13 5: WINCONNECT Kiste: called function WINCONNECT_GetStatus()
2017.09.04 16:20:13 5: WINCONNECT Kiste: filename  = ././www/winconnect/WinControl.exe filemtime =
2017.09.04 16:20:13 0: WINCONNECT [NEW] Download new version URL = https://gitlab.com/michael.winkler/winconnect/raw/master/WinControl_0.0.22.exe
2017.09.04 16:20:13 5: WINCONNECT Kiste: called function WINCONNECT_SendCommand()
2017.09.04 16:20:15 0: WINCONNECT [NEW] Download ERROR file to small. Filesize =
2017.09.04 16:20:16 5: WINCONNECT Kiste: error while requesting http://192.168.178.51:8183/fhem/powerstate=off;statusrequest;0 - 192.168.178.51: Keine Route zum Zielrechner

Woran kann das liegen? Ich bekomme den Fehler auch, wenn das Gerät an ist
Am besten schickst du mir mal die Support Informationen. Mit welchem Benutzer wird bei dir FHEM ausgeführt? Hat der Schreibrechte? Wie groß ist die WinControl_0.0.22.exe auf dem FHEM Server?

the ratman

wo habts ihr euer winconnect abgelegt? bei z.b. win10 usw kannste nicht überall lustig speichern.
im zweifelsfalle die exe mal in dein userverzeichnis C:\Users\xxx\ legen. da darf das proggie 100% sicher löschen/speichern
→do↑p!dnʇs↓shit←

michael.winkler

Ab morgen Früh ist eine neue Version online.

# v0.0.23
# - BUFIX:      [FEHMModul] - Download gitlab GUI
# - CHANGE      [FEHMModul] - Download Timeout WinControl.exe = 30
# - FEATURE: [WinWebGUI] - NotifyIcon - Kontextmenü

solidphili

Zitat von: michael.winkler am 04 September 2017, 17:27:18
Am besten schickst du mir mal die Support Informationen. Mit welchem Benutzer wird bei dir FHEM ausgeführt? Hat der Schreibrechte? Wie groß ist die WinControl_0.0.22.exe auf dem FHEM Server?
Ich habe heute morgen das Update gemacht und auch alle Dateien (auf Windows und dem FHEM Server gelöscht)
Ist das normal, dass er jetzt nur noch eine WinControl.exe auf dem FHEM Server ablegt ohne Versionsnummer?
Danach habe ich das Update erfolgreich durchführen können. Ich bekomme keine Fehlermeldungen mehr.
So weit so gut.
Im Verbose 5 steht allerdings: 2017.09.05 08:02:10 5: WINCONNECT Kiste: filename  = ././www/winconnect/WinControl.exe filemtime =
Für mich als Laien sieht das doch so aus, als ob er die lokale Datei nicht "sehen" kann oder? Ich werde also vermutlich mit dem nächsten Update das gleiche Problem haben oder?

Wenn du weiterhin die Support Informationen brauchst, schick ich dir die natürlich auch noch. Vielen Dank schon mal für deine Unterstützung

michael.winkler

Zitat von: solidphili am 05 September 2017, 08:09:13
Ist das normal, dass er jetzt nur noch eine WinControl.exe auf dem FHEM Server ablegt ohne Versionsnummer?
In dem Verzeichnis ../www/winconnect sollten zwei Dateien liegen
* WinControl.exe
* Wincontrol.exe_0.0.23

Wenn diese Dateien nicht da sind bitte mal das Reading "wincontrol_error" prüfen. siehe https://wiki.fhem.de/wiki/WINCONNECT#Readings

Zitat von: solidphili am 05 September 2017, 08:09:13
Danach habe ich das Update erfolgreich durchführen können. Ich bekomme keine Fehlermeldungen mehr.
So weit so gut.
Im Verbose 5 steht allerdings: 2017.09.05 08:02:10 5: WINCONNECT Kiste: filename  = ././www/winconnect/WinControl.exe filemtime =
Für mich als Laien sieht das doch so aus, als ob er die lokale Datei nicht "sehen" kann oder? Ich werde also vermutlich mit dem nächsten Update das gleiche Problem haben oder?
Meldungen erscheinen nur noch bei Verbose=5.

Zitat von: solidphili am 05 September 2017, 08:09:13
Wenn du weiterhin die Support Informationen brauchst, schick ich dir die natürlich auch noch. Vielen Dank schon mal für deine Unterstützung
Ja, schicke es mir mal zu

the ratman

servus,

ich glaub nicht, dass es schlimm ist, aber vielleicht sollt mans beobachten:

eben hat sich winconnect beim updaten am pc ein wenig daneben benommen.
sah dann so aus, dass winnconnect mit dem update begonnen hat, richtig beendet wurde, er aber kein new_winconnect gebastelt hat.
die alte winconecect war noch da und nach dem erneuten anstarten desselben hat ers update brav durchgezogen.


btw - wegen meiner frage zu cortana - hast du da ne gernerelle antwort für mich?
"geht/geht nicht" und "hab vielleicht irgendwann mal lust/wirst du nie bekommen" würd mir schon reichen *g*
will nur mal wissen, ob das überhaupt ginge.
→do↑p!dnʇs↓shit←