mirror of
https://bitbucket.org/myhomie/mycorerepository.git
synced 2025-12-06 01:31:19 +00:00
Update repo
This commit is contained in:
parent
6df479223a
commit
9d2bc15180
207793
3D Printing/CE3PRO_labyrinthGiftBox_lid.gcode
Normal file
207793
3D Printing/CE3PRO_labyrinthGiftBox_lid.gcode
Normal file
File diff suppressed because it is too large
Load Diff
BIN
3D Printing/led_bureau_box.stl
Normal file
BIN
3D Printing/led_bureau_box.stl
Normal file
Binary file not shown.
BIN
3D Printing/led_bureau_box_top.stl
Normal file
BIN
3D Printing/led_bureau_box_top.stl
Normal file
Binary file not shown.
@ -74,7 +74,7 @@ namespace MyCore.Service.Controllers
|
||||
if (user == null)
|
||||
throw new KeyNotFoundException("User not found");
|
||||
|
||||
System.Console.WriteLine($"Init userId for MqqClientService ! {user.Email}");
|
||||
System.Console.WriteLine($"Init userId for MqttClientService ! {user.Email}");
|
||||
MqttClientService.SetServices(_DeviceDatabaseService, _GroupDatabaseService, _ProviderDatabaseService, _LocationDatabaseService, _ActionService, _AutomationDatabaseService, user.Id);
|
||||
|
||||
return new OkObjectResult(token);
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
namespace Mqtt.Client.AspNetCore.Services
|
||||
{
|
||||
public class ExtarnalService
|
||||
public class ExternalService
|
||||
{
|
||||
private readonly IMqttClientService mqttClientService;
|
||||
public ExtarnalService(MqttClientServiceProvider provider)
|
||||
public ExternalService(MqttClientServiceProvider provider)
|
||||
{
|
||||
mqttClientService = provider.MqttClientService;
|
||||
}
|
||||
@ -193,7 +193,7 @@ namespace Mqtt.Client.AspNetCore.Services
|
||||
.WithTopic(topic)
|
||||
.WithPayload(message)
|
||||
.WithExactlyOnceQoS()
|
||||
.WithRetainFlag()
|
||||
.WithRetainFlag(false)
|
||||
.Build();
|
||||
|
||||
if (mqttClient.IsConnected)
|
||||
|
||||
@ -16,7 +16,7 @@ namespace MyCore.Service
|
||||
private class Permissions
|
||||
{
|
||||
/// <summary>
|
||||
/// Dpos admin access
|
||||
/// Admin access
|
||||
/// </summary>
|
||||
public const string Admin = "MyCore.admin";
|
||||
}
|
||||
|
||||
@ -211,7 +211,7 @@ namespace MyCore.Services.Devices
|
||||
}
|
||||
else
|
||||
{
|
||||
System.Console.WriteLine($"Current device Trigger not found - {deviceTrigger}");
|
||||
System.Console.WriteLine($"Current device Trigger not found - {deviceServiceName}");
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
{
|
||||
"ConnectionStrings": {
|
||||
"BookstoreDb": "mongodb://admin:MioTech4ever!@localhost:27017",
|
||||
//"MyCoreDb": "mongodb://admin:MioTech4ever!@192.168.31.140:27017", // DEV
|
||||
"MyCoreDb": "mongodb://admin:MioTech4ever!@localhost:27017"
|
||||
},
|
||||
"Logging": {
|
||||
@ -26,7 +27,7 @@
|
||||
},
|
||||
|
||||
"BrokerHostSettings": {
|
||||
"Host": "192.168.31.140",
|
||||
"Host": "localhost",
|
||||
"Port": 1883
|
||||
},
|
||||
|
||||
|
||||
BIN
error_mongodb.jpg
Normal file
BIN
error_mongodb.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 171 KiB |
Loading…
x
Reference in New Issue
Block a user