New module - BleBox
Moderator: leecollings
-
- Posts: 58
- Joined: Wednesday 18 April 2018 13:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: Deutschland
- Contact:
Re: New module - BleBox
maybe it´s damaged? or something else.
I have tried the config in BleBox and Domoticz one after one, nothing helped.
Just the Arrow Buttons changed the direction, not the Percentage Bar
I have tried the config in BleBox and Domoticz one after one, nothing helped.
Just the Arrow Buttons changed the direction, not the Percentage Bar
________________________________________________________________________
global chief of permanent lightning and strike detonator
global chief of permanent lightning and strike detonator
-
- Posts: 269
- Joined: Thursday 26 March 2015 10:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Poland
- Contact:
Re: New module - BleBox
Maybe this is bug in domoticz, and switch "normal" works identically as "inverted"
-
- Posts: 58
- Joined: Wednesday 18 April 2018 13:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: Deutschland
- Contact:
Re: New module - BleBox
I do the cabeling all new now, so up is up in Hardware Switch
Up is Up when using the Webpage of the BleBox.
Pointing in blebox to the last 20% of the Blinds (nearly closed, it´s workinf fine and is nearly closed.
Pointing to 0% (Open) in Domoticz it stops in the middle and remains half open, if I choose 80% it´s nearly closed.
Yes, Calibaration is deleted and new autocalibrated.
Is there a File or a Config where the translation can be changed?
I see when coosing %Percentages it will be translated to some steps 1-12 or something.
I hoped I can replace this Fibare Shutters, cause they making Ghostswitching with the BleBox Shutters,
but with this Problems not possible to set correct Percentages, this will also not be a Solution for me
Up is Up when using the Webpage of the BleBox.
Pointing in blebox to the last 20% of the Blinds (nearly closed, it´s workinf fine and is nearly closed.
Pointing to 0% (Open) in Domoticz it stops in the middle and remains half open, if I choose 80% it´s nearly closed.
Yes, Calibaration is deleted and new autocalibrated.
Is there a File or a Config where the translation can be changed?
I see when coosing %Percentages it will be translated to some steps 1-12 or something.
I hoped I can replace this Fibare Shutters, cause they making Ghostswitching with the BleBox Shutters,
but with this Problems not possible to set correct Percentages, this will also not be a Solution for me
________________________________________________________________________
global chief of permanent lightning and strike detonator
global chief of permanent lightning and strike detonator
-
- Posts: 269
- Joined: Thursday 26 March 2015 10:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Poland
- Contact:
Re: New module - BleBox
You may check what domoticz send to shutterBox (desiredPos) and actually position (currentPos) on
https://technical.blebox.eu/shutterBoxA ... utterState
Domoticz send 0 and 100 ? Or not ?
https://technical.blebox.eu/shutterBoxA ... utterState
Domoticz send 0 and 100 ? Or not ?
-
- Posts: 58
- Joined: Wednesday 18 April 2018 13:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: Deutschland
- Contact:
Re: New module - BleBox
So, i double and triple checked everything.
Shut down in Real and in the App, Domoticz set to Inverted, Percentage Bar Wrong, Icons correct Shut down in Real and in the App, Domoticz set to Normal, Percentage Bar correct, Icons and Text Wrong Shut down in Real and in the App, Domoticz set to back to inverted, Percentage Bar wrong Icons correct Text ? this is, what the Get from my shutter box replied:
Thank you for your Help
Edit:
If I send
http://192.168.1.23/s/p/80 then I got this reply:
in Domoticz the Percentage Bar say, no matter if I switch to Normal or Inverted - 20%
and i real it is 60% closed...
So the real Thing seems to Work more or less, but the Percentage Bar in Domoticz making Problems and did not fit the Icons and the Text
When sending 80% from Domoticz (NOT Inverted) it says:
Shut down in Real and in the App, Domoticz set to Inverted, Percentage Bar Wrong, Icons correct Shut down in Real and in the App, Domoticz set to Normal, Percentage Bar correct, Icons and Text Wrong Shut down in Real and in the App, Domoticz set to back to inverted, Percentage Bar wrong Icons correct Text ? this is, what the Get from my shutter box replied:
Code: Select all
{"shutter":{"state":4,"currentPos":{"position":0,"tilt":-1},"desiredPos":{"position":0,"tilt":-1},"favPos":{"position":50,"tilt":50},"controlType":1,"calibrationParameters":{"isCalibrated":1,"maxMoveTimeUpMs":23082,"maxMoveTimeDownMs":22417,"maxTiltTimeUpMs":1100,"maxTiltTimeDownMs":1100}}}
Edit:
If I send
http://192.168.1.23/s/p/80 then I got this reply:
Code: Select all
{"shutter":{"state":0,"currentPos":{"position":0,"tilt":-1},"desiredPos":{"position":80,"tilt":-1},"favPos":{"position":50,"tilt":50}}}
and i real it is 60% closed...
So the real Thing seems to Work more or less, but the Percentage Bar in Domoticz making Problems and did not fit the Icons and the Text
When sending 80% from Domoticz (NOT Inverted) it says:
Code: Select all
{"shutter":{"state":2,"currentPos":{"position":19,"tilt":-1},"desiredPos":{"position":19,"tilt":-1},"favPos":{"position":50,"tilt":50},"controlType":1,"calibrationParameters":{"isCalibrated":1,"maxMoveTimeUpMs":23082,"maxMoveTimeDownMs":22417,"maxTiltTimeUpMs":1100,"maxTiltTimeDownMs":1100}}}
________________________________________________________________________
global chief of permanent lightning and strike detonator
global chief of permanent lightning and strike detonator
-
- Posts: 58
- Joined: Wednesday 18 April 2018 13:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: Deutschland
- Contact:
Re: New module - BleBox
No more Ideas?
Is there a place with Config Files for BleBox Devices?
Maybe I can play around and change there the Translation from % to what is going to be send to the Box?
Or any other Ideas?
Is there a place with Config Files for BleBox Devices?
Maybe I can play around and change there the Translation from % to what is going to be send to the Box?
Or any other Ideas?
________________________________________________________________________
global chief of permanent lightning and strike detonator
global chief of permanent lightning and strike detonator
-
- Posts: 269
- Joined: Thursday 26 March 2015 10:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Poland
- Contact:
Re: New module - BleBox
I think, that this is problem in domoticz with this control.
I installed one shutterBox a few days ago. I will try check where is problem.
I installed one shutterBox a few days ago. I will try check where is problem.
-
- Posts: 1
- Joined: Saturday 27 October 2018 19:04
- Target OS: Linux
- Domoticz version: BETA
- Contact:
Re: New module - BleBox
After update to 2021.01 BleBOX module crashes Domoticz
-
- Posts: 3
- Joined: Wednesday 03 April 2019 13:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: New module - BleBox
Hello
New betarelase (13196) solve crashes due to blebox module but all blebox devises doesn't work anymore.
In log file:
2021-04-18 21:33:48.590 Error: BLEBOXY: Invalid json received!
In Hardware section all devices with unknown status. When you try to use device you received Error: BLEBOXX: unknown device (192.168.X.X)
any idea?
regards
Pablo
New betarelase (13196) solve crashes due to blebox module but all blebox devises doesn't work anymore.
In log file:
2021-04-18 21:33:48.590 Error: BLEBOXY: Invalid json received!
In Hardware section all devices with unknown status. When you try to use device you received Error: BLEBOXX: unknown device (192.168.X.X)
any idea?
regards
Pablo
-
- Posts: 3
- Joined: Wednesday 03 April 2019 13:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: New module - BleBox
Hi,
Strange symptom after V2021.1 build 13196 deploy. All Blebox hardware in line IP Adreess at the end of line have special character (attached screen).
Not possible to delete them and if I tried add device once again this special character is added to IP address at the end automatically.
Still blebox devices doesn't work. Log errors:
2021-04-19 09:27:30.857 Error: BLEBOXY: Invalid json received!
2021-04-19 09:27:39.300 Error: BLEBOXY: unknown device (192.168.11.6)
pablo
Strange symptom after V2021.1 build 13196 deploy. All Blebox hardware in line IP Adreess at the end of line have special character (attached screen).
Not possible to delete them and if I tried add device once again this special character is added to IP address at the end automatically.
Still blebox devices doesn't work. Log errors:
2021-04-19 09:27:30.857 Error: BLEBOXY: Invalid json received!
2021-04-19 09:27:39.300 Error: BLEBOXY: unknown device (192.168.11.6)
pablo
-
- Posts: 3
- Joined: Wednesday 03 April 2019 13:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: New module - BleBox
Hello,
Is there anyone who has migrated to V2021.1 and has a properly functioning Blebox?
thanks for the info.
Pablo
Is there anyone who has migrated to V2021.1 and has a properly functioning Blebox?
thanks for the info.
Pablo
-
- Posts: 2
- Joined: Tuesday 11 January 2022 20:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: New module - BleBox
Hi,
I have a problem with adding BB modules to Domoticz V2021.1. Last two years everything was working properly but as usuall something went wrong fored me to install new Raspbian and Domoticz.
Now each attempt (manual or auto) causes crash of domoticz and system need to be reloaded.
Any idea why?
I have a problem with adding BB modules to Domoticz V2021.1. Last two years everything was working properly but as usuall something went wrong fored me to install new Raspbian and Domoticz.
Now each attempt (manual or auto) causes crash of domoticz and system need to be reloaded.
Any idea why?
-
- Posts: 269
- Joined: Thursday 26 March 2015 10:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Poland
- Contact:
Re: New module - BleBox
I'm coming back after a few years to improve this module
I'll see what I can do.
I'll see what I can do.
-
- Posts: 269
- Joined: Thursday 26 March 2015 10:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Poland
- Contact:
Re: New module - BleBox
So feel free to download the version at least
Version: 2024.4 (build 15998)
Strongly rebuilt BleBox support. There should be no duplicates, the controls should work, signal strength should be displayed, etc.
ps. I recomended remove all BleBox devices and add they again.
Version: 2024.4 (build 15998)
Strongly rebuilt BleBox support. There should be no duplicates, the controls should work, signal strength should be displayed, etc.
ps. I recomended remove all BleBox devices and add they again.
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: New module - BleBox
I dont know if history data of the old devices would be stored because then I would propose another way of implementing:
- Disable (not delete!) BleBox in Domoticz (menu Setup - hardware)
- Create new BleBox gateway in Domoticz
- New devices are created in BleBox and visible in menu Setup- Devices
- If you want to keep the history logging of the old devices then you need to replace the old device with the new one if identical devices are created. Use the replace function in Edit device, see wiki Replace Devices Devices that were replaced will get the old name and old IDX, no need to change scripts.
NOTE: Alternatively, you can also change the type of the old disabled BleBox hardware to "Dummy" and re-enable it, then replace each dummy device with equivalent Zwave JS UI discovered device.
- Now you can delete the old BleBox gateway in Domoticz (menu Setup - hardware). All related old devices that not were replaced will be deleted.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 53
- Joined: Tuesday 16 October 2018 23:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Contact:
Re: New module - BleBox
because there are some warnings from this code in the AppVeyor Build,
This is because the function 'm_sql.InsertDevice' return a 'uint64_t'
and the idx is declared as 'int'
what is best accepted;
or
kind regards
Code: Select all
conversion from 'uint64_t' to 'int', possible loss of data
and the idx is declared as 'int'
Code: Select all
{
int idx = (int)m_sql.InsertDevice(m_HwdID, 0, id, 1, deviceType.rfxType, deviceType.subType, deviceType.switchType, 0, "Unavailable", deviceName, signalQuality, 255, 0);
_log.Debug(DEBUG_HARDWARE, "BleBox: new device Id: '%d'", idx);
m_sql.safe_query("UPDATE DeviceStatus SET StrParam1='%d', StrParam2='%q' WHERE (ID==%d)", deviceTypeID, IPAddress.c_str(), idx);
idx = m_sql.InsertDevice(m_HwdID, 0, id, 2, pTypeGeneralSwitch, sTypeAC, STYPE_PushOn, 0, "Unavailable", deviceName, signalQuality, 255, 0);
m_sql.safe_query("UPDATE DeviceStatus SET StrParam1='%d', StrParam2='%q' WHERE (ID==%d)", deviceTypeID, IPAddress.c_str(), idx);
idx = m_sql.InsertDevice(m_HwdID, 0, id, 3, pTypeGeneralSwitch, sTypeAC, STYPE_PushOn, 0, "Unavailable", deviceName, signalQuality, 255, 0);
m_sql.safe_query("UPDATE DeviceStatus SET StrParam1='%d', StrParam2='%q' WHERE (ID==%d)", deviceTypeID, IPAddress.c_str(), idx);
}
Code: Select all
int idx = (int)m_sql.InsertDevice(........
Code: Select all
int idx = static_cast<int>(m_sql.InsertDevice(........
-
- Posts: 269
- Joined: Thursday 26 March 2015 10:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Poland
- Contact:
Re: New module - BleBox
I see that this has been corrected
https://github.com/domoticz/domoticz/co ... a66fe71faa
https://github.com/domoticz/domoticz/co ... a66fe71faa
-
- Posts: 53
- Joined: Tuesday 16 October 2018 23:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Contact:
Re: New module - BleBox
No it is not corrected;
GizMoCuz has put in; Bad coding! Return = uint64_t, please change!
it must be for example;
GizMoCuz has put in; Bad coding! Return = uint64_t, please change!
it must be for example;
Code: Select all
uint64_t idx = m_sql.InsertDevice(m_HwdID, 0, id, 1, deviceType.rfxType, deviceType.subType, deviceType.switchType, 0, "Unavailable", deviceName, signalQuality, 255, 0);
_log.Debug(DEBUG_HARDWARE, "BleBox: new device Id: '%" PRIu64 "'", idx);
m_sql.safe_query("UPDATE DeviceStatus SET StrParam1='%d', StrParam2='%q' WHERE (ID==%" PRIu64 ")", deviceTypeID, IPAddress.c_str(), idx);
Who is online
Users browsing this forum: No registered users and 1 guest