OpenBK7231T_App icon indicating copy to clipboard operation
OpenBK7231T_App copied to clipboard

Wiki

Open btsimonh opened this issue 1 year ago • 14 comments

I've added a custom sidebar in the wiki.

This enables multi-level pages, but does then imply maintenance.

I'll finish my examples page when the wife will let me dedicate time to something other than her....

btsimonh avatar Oct 07 '22 18:10 btsimonh

Good job, we could really use some more documentation. Another thing important to do would be to 'break out' the Vue App devices database to whole world, how hard would it be to host a simple page on our gh-pages of Vue App so everyone can browse our devices.json? https://github.com/OpenBekenIOT/webapp/blob/gh-pages/devices.json

openshwprojects avatar Oct 07 '22 19:10 openshwprojects

you mean this link: https://openbekeniot.github.io/webapp/devices.json ? :).

btsimonh avatar Oct 08 '22 06:10 btsimonh

The other option would be to modify index.html (which is not used in the real serving?) to show a .vue page which made a pretty display of the json and contained a link to the raw json.... then we could have images and everything displayed? a small project for @iprak maybe?

btsimonh avatar Oct 08 '22 06:10 btsimonh

Basic sidebar complete, added a page about using my single button on Calex power strip to toggle any one of the 5 relays (in combination with NodeRed) :).

It MAY be possible to script this completely within OpenBeken, but probably not without a few source mods.

btsimonh avatar Oct 08 '22 08:10 btsimonh

@btsimonh I know javascript but not Vue, idk about @iprak "

Basic sidebar complete, added a page about using my single button on Calex power strip to toggle any one of the 5 relays (in combination with NodeRed) :)." Can you also post it to https://www.elektroda.com/rtvforum/forum507.html ? Thanks!

"It MAY be possible to script this completely within OpenBeken, but probably not without a few source mods." I have almost ready my own script interpreter in C and I will try to merge it this month or next month, 80% done

openshwprojects avatar Oct 08 '22 09:10 openshwprojects

I think I made a new thread on the forum, but it's not there. Maybe in moderation?

btsimonh avatar Oct 08 '22 09:10 btsimonh

Sorry I for got about this. I had made a prototype reusing existing vue code to displays the device configs as cards. I thought that one can just search the page instead of trying a custom search.

iprak avatar Oct 08 '22 09:10 iprak

@btsimonh it's a normal procedure, it will be up soon.

openshwprojects avatar Oct 08 '22 10:10 openshwprojects

Added a wiki page on tuya-cloudcutter, after a successful flash of a calex RGBWW strip :).

Q: Has anyone tried 'N' versions with cloudcutter? One assumes that the SDK is related, so exploitable, but possibly different enough not to work?

btsimonh avatar Oct 09 '22 09:10 btsimonh

I have only tested cloudcutter with T version, I also made a profile once: https://github.com/tuya-cloudcutter/tuya-cloudcutter/commit/41f82d20b0e4d450ec6d788441e612910740dc32 but I don't use cloudcutter any more, I just submit new device flash dumps.

openshwprojects avatar Oct 09 '22 09:10 openshwprojects

@openshwprojects - my first time with a power plug. Q: if i connect the 3.3v (VBAT on WB2S) and GND, it seems to want a LOT more current than I would expect (>500ma on bench supply for a moment, dare not give it for long without asking. Would not work from 3.3 from serial adaptor or from 3.3v from my breadboard power....). For 240v powered circuits, do you need to unsolder, else driving current into the regulator in some way? If so, I'm a little screwed. The device will be trash if I have to unsolder too much!!!

I could try powered from the mains with laptop disconnected from power, but I fear death.

btsimonh avatar Oct 09 '22 13:10 btsimonh

or can I give DC to the input of the dc-dc convertor?

btsimonh avatar Oct 09 '22 14:10 btsimonh

That seems quite a lot. I am playing with a W600 one and its max consumption has been 120mA. I have usually given power directly to the chip but have seen some teardowns where 5V was supplied to the DC-to-DC converter.

iprak avatar Oct 10 '22 09:10 iprak