This manual explains how to set up a low-cost NAS server to store videos from a Xiaomi camera, model MI Security Camera.
You can use a development board Linux based such as Raspberry PI or similar, an old PC, Barebone etc.
Install samba.
This manual explains how to set up a low-cost NAS server to store videos from a Xiaomi camera, model MI Security Camera.
You can use a development board Linux based such as Raspberry PI or similar, an old PC, Barebone etc.
Install samba.
| <?php | |
| add_action( 'jet-engine/register-macros', function(){ | |
| /** | |
| * Return current object property. | |
| */ | |
| class Current_Object_Prop_Macro extends \Jet_Engine_Base_Macros { | |
| /** |
| //add Get properties from query macro | |
| add_filter( 'jet-engine/listings/macros-list', 'register_query_items_macro' ); | |
| function register_query_items_macro( $macros_list ) { | |
| $macros_list['get_props_from_query'] = array( | |
| 'label' => 'Get properties from query', | |
| 'cb' => 'get_props_from_query_macro', | |
| 'args' => array( | |
| 'query_id' => array( |
| <?php | |
| /** | |
| * JetEngine CCT-related API functions to use in theme or plugin | |
| * | |
| * Theme usage - include get_theme_file_path( 'jet-engine-cct-api.php' ); | |
| * Plugin usage - include PLUGIN_PATH . 'path-to-file-inside-plugin/jet-engine-cct-api.php'; | |
| */ | |
| /** |