AntoineGS / teams-status-rs

47 stars 0 forks source link

No config file generated #3

Closed loryanstrant closed 7 months ago

loryanstrant commented 7 months ago

I'm running the app on my machine where I have local admin rights, and an output file is generated by there's no config.ini file generated. The output file shows: 2023-11-20T13:31:44.705790100+11:00 INFO teams_status - -------------------- 2023-11-20T13:31:44.706111700+11:00 INFO teams_status - Application starting 2023-11-20T13:32:39.449729500+11:00 INFO teams_status - -------------------- 2023-11-20T13:32:39.450053+11:00 INFO teams_status - Application starting

Could something like Defender be blocking it?

AntoineGS commented 7 months ago

Seems like I broke something in the configuration file generation in the last version. While I resolve it you can create a file names conf.ini in the same folder and paste/fill the below:

[Teams]
URL=ws://localhost:8124
API Token=

[Home Assistant]
URL=
Long Live Token=

[Home Assistant Icons]
In a Meeting=mdi:phone-in-talk
Not in a Meeting=mdi:phone-off

[Home Assistant Entities]
Meeting Id=binary_sensor.teams_meeting
Meeting Friendly Name=Teams Meeting
Video Id=binary_sensor.teams_video
Video Friendly Name=Teams Video

[MQTT]
URL=
Port=1883
Topic=teams-status
Username=
Password=

[MQTT Entities]
Meeting=in_meeting
Video=video_on

Thanks for reporting this!

AntoineGS commented 7 months ago

Scratch that I seem to have broken the tray icon? I will run a few tests and get back to you.

AntoineGS commented 7 months ago

Alright v0.2.1 fixes the issue you encountered! (Fixed by 44d730a96d19f68ca3a5c204ecff8c64a3d2c0a3)